Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001545/0.001545, allocations: 74.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001683/0.001683, allocations: 152.5 kB / 24.49 MB, free: 3.723 MB / 14.72 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.401/1.401, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 46.66 kB / 319.4 MB, free: 3.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.0877, allocations: 52.16 MB / 371.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006347/0.09404, allocations: 4.756 MB / 376.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.09662, allocations: 1.395 MB / 377.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.097, allocations: 35.69 kB / 377.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.09748, allocations: 221.8 kB / 378 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.09796, allocations: 194 kB / 378.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.09872, allocations: 395.4 kB / 378.6 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.09988, allocations: 1.123 MB / 379.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.1004, allocations: 316.8 kB / 380 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.1009, allocations: 410.3 kB / 380.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.1013, allocations: 381.5 kB / 380.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.1014, allocations: 84 kB / 380.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1016, allocations: 96 kB / 381 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1018, allocations: 215.1 kB / 381.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.1022, allocations: 405.7 kB / 381.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1034, allocations: 1.182 MB / 382.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1034, allocations: 0 / 382.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1034, allocations: 0 / 382.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1034, allocations: 0 / 382.7 MB, free: 12.25 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.001842/0.1052, allocations: 1.264 MB / 384 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1053, allocations: 12.03 kB / 384 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.1054, allocations: 131.2 kB / 384.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1064, allocations: 0.5859 MB / 384.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.1065, allocations: 77.94 kB / 384.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.1066, allocations: 96 kB / 384.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.1083, allocations: 1.081 MB / 386 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.1083, allocations: 3.938 kB / 386 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.1084, allocations: 44 kB / 386 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.1084, allocations: 28 kB / 386.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1096, allocations: 0.5617 MB / 386.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.1143, allocations: 5.124 MB / 391.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.1149, allocations: 228.9 kB / 392 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.1153, allocations: 149.6 kB / 392.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.9e-05/0.1154, allocations: 15.98 kB / 392.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1154, allocations: 42.44 kB / 392.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.1154, allocations: 0 / 392.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004061/0.1195, allocations: 1.585 MB / 393.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1195, allocations: 85.09 kB / 393.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.1204, allocations: 0.6487 MB / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1204, allocations: 33.7 kB / 394.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.1209, allocations: 0.6162 MB / 395.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.121, allocations: 158.7 kB / 395.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.1212, allocations: 142.5 kB / 395.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.1214, allocations: 382.8 kB / 395.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.1218, allocations: 149.9 kB / 396 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.1224, allocations: 0.4934 MB / 396.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.1236, allocations: 0.6983 MB / 397.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1236, allocations: 0 / 397.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001365/0.1249, allocations: 0.7117 MB / 397.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.125, allocations: 15.94 kB / 397.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.125, allocations: 12 kB / 397.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.125, allocations: 16 kB / 397.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.1257, allocations: 204.2 kB / 398.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.1257, allocations: 19.94 kB / 398.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.1261, allocations: 39.92 kB / 398.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.1262, allocations: 40 kB / 398.2 MB, free: 11.84 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.0003235/0.1265, allocations: 229.7 kB / 398.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1266, allocations: 75.48 kB / 398.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1267, allocations: 74.56 kB / 398.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1267, allocations: 4 kB / 398.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1267, allocations: 3.938 kB / 398.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1268, allocations: 11.92 kB / 398.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.1289, allocations: 1.117 MB / 399.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1289, allocations: 4 kB / 399.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.1294, allocations: 108 kB / 399.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1294, allocations: 0 / 399.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1295, allocations: 16 kB / 399.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1295, allocations: 0 / 399.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.1295, allocations: 11.88 kB / 399.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.1305, allocations: 0.6936 MB / 400.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1307, allocations: 71.52 kB / 400.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.1307, allocations: 11.94 kB / 400.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.1312, allocations: 23.98 kB / 400.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1313, allocations: 35.88 kB / 400.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1314, allocations: 8 kB / 400.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005259/0.1319, allocations: 415 kB / 401.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1319, allocations: 4 kB / 401.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006493/0.1325, allocations: 144 kB / 401.2 MB, free: 8.711 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.0001397/0.1327, allocations: 111.1 kB / 401.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.1335, allocations: 416.4 kB / 401.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1335, allocations: 1.812 kB / 401.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.1338, allocations: 151.6 kB / 401.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.1343, allocations: 82.05 kB / 402 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1371, allocations: 1.673 MB / 403.6 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.1376, allocations: 413.3 kB / 404.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.1378, allocations: 94.02 kB / 404.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.138, allocations: 64.47 kB / 404.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.138, allocations: 0 / 404.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of Templates: time 0.01173/0.1497, allocations: 4.665 MB / 408.9 MB, free: 1.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.436118975980207]