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.0007578/0.0007578, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008826/0.0008826, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 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 0.8984/0.8984, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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.192e-06/1.192e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.206e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004688/0.00471, allocations: 5.61 MB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.007386, allocations: 1.775 MB / 280.8 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.007851, allocations: 43.69 kB / 280.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.008223, allocations: 249.5 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.008595, allocations: 245.3 kB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.009443, allocations: 0.5226 MB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.01038, allocations: 1.418 MB / 283.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.01086, allocations: 436.2 kB / 283.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.01173, allocations: 0.7445 MB / 284.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.01219, allocations: 338.8 kB / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.01235, allocations: 120 kB / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.01256, allocations: 143.9 kB / 285 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.01276, allocations: 278.9 kB / 285.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.01314, allocations: 395 kB / 285.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.01414, allocations: 0.9414 MB / 286.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01414, allocations: 3.938 kB / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01415, allocations: 0 / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.01416, allocations: 0 / 286.6 MB, free: 3.742 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.001379/0.01554, allocations: 1.403 MB / 288 MB, free: 2.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.01557, allocations: 8.031 kB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.01583, allocations: 211.8 kB / 288.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.01646, allocations: 0.5704 MB / 288.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.01651, allocations: 90.41 kB / 288.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.0166, allocations: 123.9 kB / 289 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008212/0.01742, allocations: 1.076 MB / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.01744, allocations: 7.938 kB / 290.1 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1073/0.1248, allocations: 53.27 kB / 290.2 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.1248, allocations: 31.22 kB / 290.2 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.1254, allocations: 348.2 kB / 290.5 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.1284, allocations: 5.843 MB / 296.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1288, allocations: 167.2 kB / 296.5 MB, free: 21.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1289, allocations: 107.3 kB / 296.6 MB, free: 21.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.129, allocations: 13.05 kB / 296.7 MB, free: 21.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.129, allocations: 37.5 kB / 296.7 MB, free: 21.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.129, allocations: 0 / 296.7 MB, free: 21.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001008/0.13, allocations: 0.7105 MB / 297.4 MB, free: 20.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.13, allocations: 85.12 kB / 297.5 MB, free: 20.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.1305, allocations: 0.6258 MB / 298.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1305, allocations: 31.25 kB / 298.1 MB, free: 20.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.1308, allocations: 0.6242 MB / 298.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.1309, allocations: 125 kB / 298.9 MB, free: 20.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.131, allocations: 141.7 kB / 299 MB, free: 20.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1311, allocations: 400.2 kB / 299.4 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.1312, allocations: 63.17 kB / 299.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.1314, allocations: 488.3 kB / 300 MB, free: 19.24 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.0004921/0.1318, allocations: 0.6637 MB / 300.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1319, allocations: 4.188 kB / 300.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005443/0.1324, allocations: 0.5445 MB / 301.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1324, allocations: 10.75 kB / 301.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1324, allocations: 15.5 kB / 301.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.1326, allocations: 73.62 kB / 301.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1329, allocations: 180.8 kB / 301.4 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.1339, allocations: 2.778 MB / 304.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1342, allocations: 34.8 kB / 304.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.1342, allocations: 35.69 kB / 304.3 MB, free: 15.91 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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.1344, allocations: 175 kB / 304.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.1344, allocations: 50.7 kB / 304.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.1345, allocations: 74.44 kB / 304.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1345, allocations: 4.25 kB / 304.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1345, allocations: 1.406 kB / 304.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1345, allocations: 7.125 kB / 304.6 MB, free: 15.74 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.0008506/0.1354, allocations: 0.7222 MB / 305.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1354, allocations: 1.344 kB / 305.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.1355, allocations: 60.09 kB / 305.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1356, allocations: 52.77 kB / 305.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1356, allocations: 7.156 kB / 305.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007078/0.1364, allocations: 2.547 MB / 308 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1364, allocations: 1.922 kB / 308 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.1367, allocations: 446.4 kB / 308.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.1367, allocations: 67.94 kB / 308.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.1367, allocations: 10.2 kB / 308.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1369, allocations: 14.38 kB / 308.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.1369, allocations: 28.25 kB / 308.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1369, allocations: 9.234 kB / 308.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.1371, allocations: 276.9 kB / 308.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1371, allocations: 0 / 308.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005751/0.1377, allocations: 160.6 kB / 309 MB, free: 12.64 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.0001076/0.1378, allocations: 82.19 kB / 309.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.1383, allocations: 0.5456 MB / 309.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.851e-05/0.1383, allocations: 15.56 kB / 309.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.1385, allocations: 331.7 kB / 309.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1388, allocations: 80.48 kB / 310 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1406, allocations: 1.616 MB / 311.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1407, allocations: 174.6 kB / 311.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1409, allocations: 87.83 kB / 311.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.141, allocations: 155.5 kB / 312 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.141, allocations: 0 / 312 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.008982/0.15, allocations: 5.675 MB / 317.7 MB, free: 7.43 MB / 266.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","",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.685183883178979]