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.001901/0.001901, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002122/0.002122, allocations: 153.1 kB / 24.26 MB, free: 152 kB / 18.57 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.517/1.517, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 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 1.362e-06/1.362e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.312e-05, allocations: 6.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007986/0.008009, allocations: 5.267 MB / 272.6 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.01159, allocations: 1.617 MB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008973/0.01249, allocations: 39.69 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.01328, allocations: 253.5 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.0143, allocations: 233.5 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.01544, allocations: 0.507 MB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.01711, allocations: 1.422 MB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.01786, allocations: 420.2 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009589/0.01882, allocations: 0.725 MB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.0193, allocations: 334.8 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.01948, allocations: 128 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.01976, allocations: 132 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.02002, allocations: 274.9 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.02047, allocations: 395 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.02237, allocations: 1.619 MB / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02238, allocations: 0 / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.02238, allocations: 4 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.0224, allocations: 0 / 280.7 MB, free: 9.293 MB / 266.7 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.002581/0.02498, allocations: 1.409 MB / 282.1 MB, free: 7.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.02503, allocations: 8.922 kB / 282.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.0254, allocations: 243.1 kB / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.02669, allocations: 0.7342 MB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/0.02678, allocations: 94.34 kB / 283.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.02697, allocations: 127.9 kB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.02922, allocations: 1.31 MB / 284.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.02925, allocations: 7.938 kB / 284.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.02936, allocations: 55.94 kB / 284.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.0294, allocations: 36 kB / 284.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.0308, allocations: 0.6813 MB / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/0.1506, allocations: 6.329 MB / 291.7 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.1513, allocations: 253.6 kB / 291.9 MB, free: 27.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.1517, allocations: 161.7 kB / 292.1 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.1517, allocations: 8.891 kB / 292.1 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1518, allocations: 38.95 kB / 292.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.1518, allocations: 0.6875 kB / 292.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002403/0.1542, allocations: 1.281 MB / 293.4 MB, free: 27.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.1542, allocations: 83.48 kB / 293.5 MB, free: 27.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.155, allocations: 0.6772 MB / 294.2 MB, free: 26.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.155, allocations: 34.55 kB / 294.2 MB, free: 26.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1554, allocations: 0.7003 MB / 294.9 MB, free: 26.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.1555, allocations: 126.2 kB / 295 MB, free: 26.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.1556, allocations: 142.6 kB / 295.2 MB, free: 26.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1558, allocations: 383.8 kB / 295.6 MB, free: 25.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.156, allocations: 142.8 kB / 295.7 MB, free: 25.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.1565, allocations: 0.5533 MB / 296.2 MB, free: 25.23 MB / 266.7 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.0008689/0.1573, allocations: 0.8105 MB / 297.1 MB, free: 24.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1573, allocations: 5.844 kB / 297.1 MB, free: 24.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001251/0.1586, allocations: 0.8374 MB / 297.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1586, allocations: 11.78 kB / 297.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.1586, allocations: 14.34 kB / 297.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.1589, allocations: 81.17 kB / 298 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.1595, allocations: 190.2 kB / 298.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.1613, allocations: 3.068 MB / 301.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.1618, allocations: 31.42 kB / 301.3 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.1618, allocations: 44.25 kB / 301.3 MB, free: 21.18 MB / 266.7 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.0003542/0.1622, allocations: 276.3 kB / 301.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1623, allocations: 87.89 kB / 301.7 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.1624, allocations: 70.05 kB / 301.8 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1624, allocations: 3.406 kB / 301.8 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.1624, allocations: 2.125 kB / 301.8 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1624, allocations: 2.797 kB / 301.8 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.164, allocations: 1.06 MB / 302.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.164, allocations: 4.703 kB / 302.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.1643, allocations: 61.92 kB / 302.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.1645, allocations: 67.28 kB / 303 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1645, allocations: 13.09 kB / 303 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.1661, allocations: 2.792 MB / 305.8 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1661, allocations: 1.75 kB / 305.8 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.1672, allocations: 0.6436 MB / 306.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1673, allocations: 63.59 kB / 306.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.1674, allocations: 8.078 kB / 306.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.1677, allocations: 15.83 kB / 306.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.1678, allocations: 29.77 kB / 306.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.1679, allocations: 7.562 kB / 306.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007539/0.1686, allocations: 430.4 kB / 306.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1686, allocations: 4 kB / 306.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001246/0.1699, allocations: 158.6 kB / 307.1 MB, free: 16.82 MB / 266.7 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.0001517/0.17, allocations: 110.5 kB / 307.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1711, allocations: 0.6405 MB / 307.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1711, allocations: 1.125 kB / 307.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.1715, allocations: 357 kB / 308.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.172, allocations: 75.73 kB / 308.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1747, allocations: 1.74 MB / 310 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.1753, allocations: 451.4 kB / 310.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.1755, allocations: 86.14 kB / 310.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1756, allocations: 57.7 kB / 310.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1756, allocations: 0 / 310.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Templates: time 0.0109/0.1865, allocations: 5.264 MB / 315.9 MB, free: 11.45 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 4.538727839011699]