Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.678e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008737/0.008763, allocations: 5.678 MB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.01251, allocations: 1.702 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.01308, allocations: 43.69 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.01365, allocations: 253.5 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.0142, allocations: 237.5 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.01533, allocations: 0.5226 MB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.01745, allocations: 1.426 MB / 282.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.01821, allocations: 416.2 kB / 282.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01926, allocations: 0.7367 MB / 283.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.01977, allocations: 346.7 kB / 283.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.01996, allocations: 124 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.02023, allocations: 136 kB / 283.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.0205, allocations: 274.9 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.02097, allocations: 398.9 kB / 284.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.02293, allocations: 1.627 MB / 286.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.02293, allocations: 0 / 286.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02294, allocations: 4 kB / 286.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.02295, allocations: 0 / 286.1 MB, free: 3.82 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.002656/0.02561, allocations: 1.626 MB / 287.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.02565, allocations: 12.03 kB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.0262, allocations: 263 kB / 288 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.0278, allocations: 0.7447 MB / 288.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.171e-05/0.02789, allocations: 90.41 kB / 288.8 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.02807, allocations: 119.9 kB / 288.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1083/0.1364, allocations: 1.492 MB / 290.4 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.1364, allocations: 11.97 kB / 290.5 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.1365, allocations: 50.56 kB / 290.5 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.1366, allocations: 31.09 kB / 290.5 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.1378, allocations: 0.6629 MB / 291.2 MB, free: 27.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/0.1428, allocations: 8.89 MB / 300.1 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.1434, allocations: 263.6 kB / 300.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.1437, allocations: 164.4 kB / 300.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.1438, allocations: 10.09 kB / 300.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1438, allocations: 45.06 kB / 300.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.1438, allocations: 0.8438 kB / 300.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002058/0.1459, allocations: 1.292 MB / 301.9 MB, free: 18.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1459, allocations: 85.33 kB / 301.9 MB, free: 18.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.1468, allocations: 0.9039 MB / 302.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1468, allocations: 32.08 kB / 302.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.1472, allocations: 0.7968 MB / 303.7 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.1472, allocations: 130 kB / 303.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1474, allocations: 168.5 kB / 304 MB, free: 17.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1476, allocations: 0.613 MB / 304.6 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.1478, allocations: 141.4 kB / 304.7 MB, free: 16.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.1482, allocations: 0.7472 MB / 305.5 MB, free: 15.61 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.0008878/0.1491, allocations: 1 MB / 306.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1491, allocations: 3.594 kB / 306.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001193/0.1503, allocations: 0.8433 MB / 307.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1504, allocations: 12.56 kB / 307.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.1504, allocations: 14.09 kB / 307.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.1507, allocations: 97.34 kB / 307.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.1512, allocations: 179.2 kB / 307.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.153, allocations: 4.299 MB / 311.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.1534, allocations: 31.38 kB / 311.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.1535, allocations: 44.69 kB / 312 MB, free: 10.02 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.0003413/0.1538, allocations: 315.5 kB / 312.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1539, allocations: 87.98 kB / 312.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.154, allocations: 73.84 kB / 312.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.154, allocations: 4.484 kB / 312.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.154, allocations: 6.281 kB / 312.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.154, allocations: 1.547 kB / 312.5 MB, free: 9.66 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.1558, allocations: 1.375 MB / 313.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1558, allocations: 0 / 313.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.1561, allocations: 63.44 kB / 313.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.1563, allocations: 73.03 kB / 314 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1563, allocations: 8.203 kB / 314 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.1578, allocations: 3.932 MB / 317.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1578, allocations: 6.031 kB / 317.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.1586, allocations: 0.7532 MB / 318.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.1587, allocations: 59.78 kB / 318.7 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.1587, allocations: 16.8 kB / 318.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.159, allocations: 10.25 kB / 318.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.1591, allocations: 25.16 kB / 318.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1591, allocations: 17.22 kB / 318.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.1596, allocations: 0.5149 MB / 319.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1596, allocations: 0 / 319.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009079/0.1605, allocations: 159.1 kB / 319.5 MB, free: 4.023 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.000103/0.1606, allocations: 105 kB / 319.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009228/0.1615, allocations: 0.7918 MB / 320.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1615, allocations: 0 / 320.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.1619, allocations: 479.7 kB / 320.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.1624, allocations: 73.34 kB / 320.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.1646, allocations: 1.775 MB / 322.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1649, allocations: 450.9 kB / 323.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.1651, allocations: 85.92 kB / 323.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.1652, allocations: 65.02 kB / 323.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1652, allocations: 0 / 323.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of Templates: time 0.01318/0.1784, allocations: 5.3 MB / 328.6 MB, free: 11.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.6860420720186085]