Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001798/0.001798, 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.002041/0.002041, allocations: 169.2 kB / 24.5 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.533/1.533, allocations: 177.2 MB / 204.9 MB, free: 8.953 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 54.97 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08712/0.08875, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005094/0.09384, allocations: 3.394 MB / 382.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.09648, allocations: 1.398 MB / 383.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.09664, allocations: 8 kB / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.09847, allocations: 0.7428 MB / 384.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.09933, allocations: 374 kB / 384.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1004, allocations: 0.5242 MB / 385.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.1009, allocations: 458 kB / 385.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.1014, allocations: 350.1 kB / 386.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.1017, allocations: 215.2 kB / 386.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.102, allocations: 234.9 kB / 386.6 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.1021, allocations: 40 kB / 386.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.1024, allocations: 199.9 kB / 386.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1025, allocations: 107.6 kB / 386.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1027, allocations: 191.1 kB / 387.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.1035, allocations: 0.6888 MB / 387.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1035, allocations: 0 / 387.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1035, allocations: 0 / 387.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1035, allocations: 7.938 kB / 387.8 MB, free: 6.773 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002057/0.1056, allocations: 0.8368 MB / 388.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1056, allocations: 8.031 kB / 388.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.1093, allocations: 480.1 kB / 389.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.1097, allocations: 249.8 kB / 389.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.1097, allocations: 41.69 kB / 389.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.1098, allocations: 56.36 kB / 389.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.1108, allocations: 0.5393 MB / 390 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.1108, allocations: 11.92 kB / 390 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.1109, allocations: 23.98 kB / 390 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1109, allocations: 16 kB / 390 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1119, allocations: 0.5634 MB / 390.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.1146, allocations: 1.501 MB / 392.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1162, allocations: 0.5636 MB / 392.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.1165, allocations: 182.3 kB / 392.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.1166, allocations: 28.48 kB / 392.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1166, allocations: 39.05 kB / 392.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.1166, allocations: 4 kB / 392.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001956/0.1186, allocations: 0.7045 MB / 393.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1186, allocations: 59.84 kB / 393.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1188, allocations: 178.8 kB / 393.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.1188, allocations: 33.7 kB / 393.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.119, allocations: 225 kB / 394.1 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1191, allocations: 162.6 kB / 394.3 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1192, allocations: 90.14 kB / 394.4 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1194, allocations: 338.8 kB / 394.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1197, allocations: 156.9 kB / 394.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.1201, allocations: 224.3 kB / 395.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.1208, allocations: 400.7 kB / 395.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1208, allocations: 0 / 395.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001071/0.1218, allocations: 0.537 MB / 396 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1219, allocations: 8 kB / 396 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1219, allocations: 8.219 kB / 396 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.1222, allocations: 88.8 kB / 396.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.1226, allocations: 87.89 kB / 396.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.1247, allocations: 1.903 MB / 398.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.1249, allocations: 43.67 kB / 398.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.125, allocations: 19.98 kB / 398.1 MB, free: 12.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.1251, allocations: 173.7 kB / 398.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.1252, allocations: 27.81 kB / 398.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.1264, allocations: 0.5442 MB / 398.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1264, allocations: 4 kB / 398.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1264, allocations: 4 kB / 398.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1264, allocations: 3.984 kB / 398.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.1281, allocations: 0.9644 MB / 399.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1281, allocations: 4 kB / 399.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.1284, allocations: 75.89 kB / 399.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.1287, allocations: 84.8 kB / 400 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1287, allocations: 8 kB / 400 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.1308, allocations: 1.907 MB / 401.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1308, allocations: 7.922 kB / 401.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.1322, allocations: 0.7953 MB / 402.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1322, allocations: 35.66 kB / 402.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1322, allocations: 12 kB / 402.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1325, allocations: 15.98 kB / 402.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.1326, allocations: 40.38 kB / 402.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1326, allocations: 11.98 kB / 402.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1327, allocations: 131.3 kB / 403 MB, free: 7.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1327, allocations: 0 / 403 MB, free: 7.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000538/0.1332, allocations: 147.7 kB / 403.1 MB, free: 6.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.1334, allocations: 143.1 kB / 403.3 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1345, allocations: 0.5363 MB / 403.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1345, allocations: 4.062 kB / 403.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.1351, allocations: 361.2 kB / 404.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1354, allocations: 24 kB / 404.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1367, allocations: 0.8094 MB / 405 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1369, allocations: 204.8 kB / 405.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.137, allocations: 46.95 kB / 405.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.1371, allocations: 36.48 kB / 405.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1371, allocations: 0 / 405.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of Templates: time 0.009285/0.1464, allocations: 4.296 MB / 409.6 MB, free: 412 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.431882672943175]