Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 56.02 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2221, allocations: 52.17 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008099/0.2302, allocations: 6.053 MB / 429.9 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.2336, allocations: 1.66 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008282/0.2344, allocations: 35.75 kB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.2351, allocations: 249.6 kB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000868/0.236, allocations: 229.7 kB / 432.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2372, allocations: 0.5109 MB / 432.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.2389, allocations: 1.387 MB / 434 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007594/0.2397, allocations: 444.3 kB / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.2403, allocations: 494.1 kB / 434.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006256/0.2409, allocations: 0.5011 MB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2411, allocations: 124 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.2413, allocations: 132 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2415, allocations: 259.1 kB / 435.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.2421, allocations: 0.6139 MB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.2439, allocations: 1.635 MB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2439, allocations: 4 kB / 438.2 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2439, allocations: 0 / 438.2 MB, free: 340 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.2439, allocations: 0 / 438.2 MB, free: 340 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002293/0.2462, allocations: 1.417 MB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2463, allocations: 12.03 kB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.2465, allocations: 147.1 kB / 439.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.2477, allocations: 0.6833 MB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.2478, allocations: 94.34 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.248, allocations: 120 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.25, allocations: 1.26 MB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.25, allocations: 7.938 kB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.2501, allocations: 52 kB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.2501, allocations: 32 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2515, allocations: 0.689 MB / 442.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006394/0.2579, allocations: 6.68 MB / 449.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.2586, allocations: 245.2 kB / 449.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.2589, allocations: 173.5 kB / 449.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.259, allocations: 11.98 kB / 449.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.259, allocations: 30.56 kB / 449.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.259, allocations: 0 / 449.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002534/0.2616, allocations: 1.278 MB / 451.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.2616, allocations: 85.05 kB / 451.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.2625, allocations: 0.657 MB / 451.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2625, allocations: 33.7 kB / 451.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.263, allocations: 0.7016 MB / 452.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2631, allocations: 123 kB / 452.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.2633, allocations: 146.5 kB / 452.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2635, allocations: 382.8 kB / 453.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.2638, allocations: 149.9 kB / 453.3 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.2644, allocations: 0.5433 MB / 453.9 MB, free: 15.68 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.2656, allocations: 0.8035 MB / 454.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.2656, allocations: 8 kB / 454.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001377/0.267, allocations: 0.7913 MB / 455.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.267, allocations: 14.81 kB / 455.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.267, allocations: 16 kB / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.2673, allocations: 82.19 kB / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.2678, allocations: 187.7 kB / 455.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.2707, allocations: 3.119 MB / 458.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.2711, allocations: 36 kB / 458.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.2711, allocations: 40 kB / 459 MB, free: 10.15 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004341/0.2716, allocations: 277.3 kB / 459.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2717, allocations: 75.48 kB / 459.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.2718, allocations: 78.41 kB / 459.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2718, allocations: 4 kB / 459.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2718, allocations: 0 / 459.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2718, allocations: 0 / 459.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.2738, allocations: 1.225 MB / 460.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2738, allocations: 4 kB / 460.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.2741, allocations: 59.97 kB / 460.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.2743, allocations: 65.55 kB / 460.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2743, allocations: 4 kB / 460.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.2767, allocations: 2.858 MB / 463.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2767, allocations: 4.031 kB / 463.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.2777, allocations: 0.6356 MB / 464.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2778, allocations: 63.55 kB / 464.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.2778, allocations: 11.94 kB / 464.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.2781, allocations: 15.98 kB / 464.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.2782, allocations: 31.83 kB / 464.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2782, allocations: 8 kB / 464.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.2788, allocations: 443 kB / 464.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2788, allocations: 0 / 464.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009084/0.2797, allocations: 156 kB / 465 MB, free: 3.805 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.2798, allocations: 103.2 kB / 465.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.281, allocations: 0.6444 MB / 465.7 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.281, allocations: 0 / 465.7 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.2815, allocations: 349.2 kB / 466.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.282, allocations: 75.92 kB / 466.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.2853, allocations: 1.895 MB / 468 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.2859, allocations: 1.027 MB / 469.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2861, allocations: 67.42 kB / 469.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2861, allocations: 0 / 469.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of Templates: time 0.0255/0.3116, allocations: 19.65 MB / 488.8 MB, free: 11.86 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.477798119885847]