Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 164.5 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 51.81 kB / 325.6 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006818/0.1091, allocations: 4.77 MB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1125, allocations: 1.473 MB / 385.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.113, allocations: 39.62 kB / 385.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.1135, allocations: 221.8 kB / 385.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005573/0.1141, allocations: 190 kB / 385.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.115, allocations: 423.3 kB / 386 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1163, allocations: 1.119 MB / 387.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005594/0.1168, allocations: 320.8 kB / 387.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.1175, allocations: 418.3 kB / 387.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.118, allocations: 377.5 kB / 388.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.1181, allocations: 88 kB / 388.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.1183, allocations: 104 kB / 388.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.1185, allocations: 215.1 kB / 388.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.119, allocations: 401.7 kB / 389 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1203, allocations: 1.194 MB / 390.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1203, allocations: 0 / 390.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1203, allocations: 4 kB / 390.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1203, allocations: 0 / 390.2 MB, free: 4.262 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002025/0.1224, allocations: 1.271 MB / 391.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1224, allocations: 16.02 kB / 391.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.1228, allocations: 147.1 kB / 391.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1239, allocations: 0.5743 MB / 392.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.124, allocations: 77.94 kB / 392.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.1241, allocations: 96 kB / 392.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.1259, allocations: 1.078 MB / 393.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.126, allocations: 11.89 kB / 393.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.126, allocations: 48 kB / 393.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.1261, allocations: 28 kB / 393.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1272, allocations: 0.5578 MB / 394.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/0.1327, allocations: 5.124 MB / 399.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.1333, allocations: 236.8 kB / 399.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.1336, allocations: 141.7 kB / 399.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.1337, allocations: 4 kB / 399.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.1337, allocations: 50.38 kB / 399.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.053e-06/0.1337, allocations: 0 / 399.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004055/0.1378, allocations: 1.596 MB / 401.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1379, allocations: 85.05 kB / 401.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.1386, allocations: 0.6644 MB / 402 MB, free: 7.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1387, allocations: 29.7 kB / 402 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.1391, allocations: 0.6201 MB / 402.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.1392, allocations: 154.7 kB / 402.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1394, allocations: 130.6 kB / 402.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1396, allocations: 382.8 kB / 403.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.1399, allocations: 153.9 kB / 403.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.1405, allocations: 0.4973 MB / 404 MB, free: 5.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1416, allocations: 0.6995 MB / 404.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.1416, allocations: 4 kB / 404.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001235/0.1428, allocations: 0.7113 MB / 405.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1428, allocations: 12 kB / 405.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.1428, allocations: 12.84 kB / 405.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.1429, allocations: 16 kB / 405.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.1435, allocations: 203.6 kB / 405.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/0.1436, allocations: 19.94 kB / 405.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.1439, allocations: 39.92 kB / 405.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.144, allocations: 36 kB / 405.7 MB, free: 3.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.1443, allocations: 225.5 kB / 405.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.1444, allocations: 79.48 kB / 406 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1446, allocations: 78.62 kB / 406.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1446, allocations: 4 kB / 406.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1446, allocations: 3.938 kB / 406.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1446, allocations: 11.92 kB / 406.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.1467, allocations: 1.129 MB / 407.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1467, allocations: 0 / 407.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.1472, allocations: 99.88 kB / 407.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.1472, allocations: 4 kB / 407.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.1473, allocations: 11.98 kB / 407.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1473, allocations: 4 kB / 407.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.1473, allocations: 11.88 kB / 407.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1484, allocations: 0.7014 MB / 408.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1485, allocations: 71.45 kB / 408.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.1486, allocations: 15.94 kB / 408.1 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.1489, allocations: 19.98 kB / 408.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.1489, allocations: 35.88 kB / 408.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.149, allocations: 12 kB / 408.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005587/0.1495, allocations: 423 kB / 408.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1495, allocations: 0 / 408.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007205/0.1503, allocations: 136 kB / 408.8 MB, free: 0.6875 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.1504, allocations: 111.2 kB / 408.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008943/0.1513, allocations: 423.4 kB / 409.3 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1513, allocations: 0 / 409.3 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1516, allocations: 148.6 kB / 409.4 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.1522, allocations: 79.3 kB / 409.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.1552, allocations: 1.681 MB / 411.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.1557, allocations: 421.3 kB / 411.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.156, allocations: 94 kB / 411.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.1562, allocations: 60.48 kB / 411.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1562, allocations: 4 kB / 411.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01279/0.169, allocations: 4.674 MB / 416.4 MB, free: 9.016 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.505939340102486]