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.001024/0.001024, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001503/0.001503, allocations: 141.1 kB / 24.54 MB, free: 32 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 0.9619/0.9619, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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.422e-06/1.422e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.123e-05, allocations: 6.312 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005123/0.005145, allocations: 5.717 MB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.007681, allocations: 1.636 MB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.008127, allocations: 43.69 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.00852, allocations: 249.6 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.008924, allocations: 241.3 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.009713, allocations: 0.5109 MB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.01099, allocations: 1.422 MB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.01149, allocations: 420.2 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.01214, allocations: 0.7406 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.01247, allocations: 342.8 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01258, allocations: 124 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.01274, allocations: 136 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.01287, allocations: 274.9 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.01313, allocations: 395 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.01386, allocations: 0.9375 MB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01386, allocations: 0 / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01386, allocations: 4 kB / 281.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.01388, allocations: 0 / 281.2 MB, free: 9.199 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.001327/0.0152, allocations: 1.513 MB / 282.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.01524, allocations: 8.922 kB / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.01545, allocations: 243.1 kB / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.01615, allocations: 0.7292 MB / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.0162, allocations: 90.34 kB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.873e-05/0.0163, allocations: 127.9 kB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.01765, allocations: 1.231 MB / 285.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.01768, allocations: 11.88 kB / 285.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.01773, allocations: 52 kB / 285.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.01775, allocations: 39.98 kB / 285.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.01839, allocations: 458.8 kB / 285.6 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1116/0.13, allocations: 8.391 MB / 294 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.1305, allocations: 205.6 kB / 294.2 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.1307, allocations: 126.9 kB / 294.4 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/0.1308, allocations: 13.73 kB / 294.4 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1308, allocations: 38.98 kB / 294.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.1308, allocations: 2.5 kB / 294.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001404/0.1322, allocations: 1.138 MB / 295.5 MB, free: 22.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.1322, allocations: 81.2 kB / 295.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.1328, allocations: 0.6789 MB / 296.3 MB, free: 22.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1328, allocations: 32.58 kB / 296.3 MB, free: 22.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.1331, allocations: 0.7531 MB / 297.1 MB, free: 22.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.1331, allocations: 125.9 kB / 297.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1332, allocations: 144.5 kB / 297.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1334, allocations: 0.5587 MB / 297.9 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1335, allocations: 78.12 kB / 298 MB, free: 21.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.1338, allocations: 0.6671 MB / 298.7 MB, free: 20.74 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.0006639/0.1344, allocations: 0.8677 MB / 299.5 MB, free: 19.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.1344, allocations: 5.062 kB / 299.5 MB, free: 19.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008048/0.1353, allocations: 0.7086 MB / 300.2 MB, free: 19.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1353, allocations: 12.73 kB / 300.2 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.1353, allocations: 14.44 kB / 300.3 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.1355, allocations: 78.48 kB / 300.3 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.1358, allocations: 183.4 kB / 300.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.1371, allocations: 4.129 MB / 304.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1373, allocations: 30.19 kB / 304.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.1374, allocations: 43.88 kB / 304.7 MB, free: 15.65 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.0001659/0.1376, allocations: 230.1 kB / 304.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.1376, allocations: 87.23 kB / 305 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.1377, allocations: 74.42 kB / 305.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1377, allocations: 8.406 kB / 305.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1377, allocations: 1.406 kB / 305.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1377, allocations: 6.406 kB / 305.1 MB, free: 15.35 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.001009/0.1387, allocations: 1.076 MB / 306.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1387, allocations: 1.656 kB / 306.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1389, allocations: 67.39 kB / 306.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.139, allocations: 64.27 kB / 306.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.139, allocations: 7.297 kB / 306.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008955/0.1399, allocations: 3.8 MB / 310.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1399, allocations: 1.156 kB / 310.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.1403, allocations: 0.6184 MB / 310.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1404, allocations: 67.06 kB / 310.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1404, allocations: 16.19 kB / 310.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1405, allocations: 18.69 kB / 310.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.1406, allocations: 25.27 kB / 310.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1406, allocations: 7.766 kB / 310.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003118/0.1409, allocations: 410.6 kB / 311.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1409, allocations: 0 / 311.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.1415, allocations: 154.3 kB / 311.4 MB, free: 10.07 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.0001046/0.1416, allocations: 117.4 kB / 311.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.1423, allocations: 0.6744 MB / 312.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1423, allocations: 0 / 312.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1425, allocations: 446.6 kB / 312.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1428, allocations: 78.2 kB / 312.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1449, allocations: 1.715 MB / 314.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.1451, allocations: 172.8 kB / 314.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.1453, allocations: 88.11 kB / 314.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.1453, allocations: 56.92 kB / 314.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1453, allocations: 5.312 kB / 314.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of Templates: time 0.008804/0.1541, allocations: 5.536 MB / 320.3 MB, free: 5.23 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.870319619309157]