Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001737/0.001737, allocations: 122 kB / 18.46 MB, free: 4.473 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.002045/0.002045, allocations: 189.2 kB / 21.4 MB, free: 1.535 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.441/1.441, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 55.91 kB / 366.8 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09306, allocations: 52.14 MB / 418.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005358/0.09841, allocations: 3.718 MB / 422.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1013, allocations: 1.444 MB / 424.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1015, allocations: 8 kB / 424.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.1034, allocations: 0.7583 MB / 424.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.1048, allocations: 0.5364 MB / 425.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.1057, allocations: 430.9 kB / 425.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006032/0.1064, allocations: 458.1 kB / 426.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.107, allocations: 374 kB / 426.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.1074, allocations: 215.1 kB / 426.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.1077, allocations: 271 kB / 427.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.1078, allocations: 44 kB / 427.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.1082, allocations: 211.8 kB / 427.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1083, allocations: 107.6 kB / 427.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.1086, allocations: 242.8 kB / 427.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.1095, allocations: 0.7004 MB / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1095, allocations: 0 / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1095, allocations: 0 / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1095, allocations: 0 / 428.4 MB, free: 2.559 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.002311/0.1118, allocations: 0.9316 MB / 429.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1118, allocations: 11.89 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.1155, allocations: 496.2 kB / 429.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.1161, allocations: 303.7 kB / 430.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.1161, allocations: 41.69 kB / 430.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.1162, allocations: 56.33 kB / 430.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1173, allocations: 0.5337 MB / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1173, allocations: 0 / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/0.1173, allocations: 24 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1174, allocations: 12 kB / 430.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.1185, allocations: 0.5752 MB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.1216, allocations: 1.867 MB / 433.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.1239, allocations: 2.118 MB / 435.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.1244, allocations: 232.2 kB / 435.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1245, allocations: 89.53 kB / 435.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.1245, allocations: 47 kB / 435.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.1245, allocations: 0 / 435.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.001928/0.1264, allocations: 0.7427 MB / 436.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1265, allocations: 59.84 kB / 436.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1267, allocations: 190.4 kB / 436.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1267, allocations: 29.7 kB / 436.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1269, allocations: 225 kB / 437 MB, free: 9.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.127, allocations: 174.5 kB / 437.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1272, allocations: 86.14 kB / 437.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1273, allocations: 334.8 kB / 437.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.1277, allocations: 161 kB / 437.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.128, allocations: 234.6 kB / 437.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.1288, allocations: 416.8 kB / 438.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1288, allocations: 0 / 438.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001086/0.1299, allocations: 0.5397 MB / 438.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1299, allocations: 4 kB / 438.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1299, allocations: 4 kB / 438.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.1303, allocations: 76.8 kB / 439 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.1307, allocations: 99.88 kB / 439.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.1327, allocations: 1.778 MB / 440.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.1329, allocations: 43.72 kB / 440.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.133, allocations: 20 kB / 440.9 MB, free: 5.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.1332, allocations: 165.7 kB / 441.1 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.1333, allocations: 23.86 kB / 441.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1345, allocations: 0.5435 MB / 441.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1345, allocations: 8 kB / 441.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1345, allocations: 4 kB / 441.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1345, allocations: 3.984 kB / 441.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.1363, allocations: 1.128 MB / 442.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1363, allocations: 7.938 kB / 442.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.1367, allocations: 79.89 kB / 442.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.137, allocations: 76.8 kB / 442.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.137, allocations: 12 kB / 442.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.1389, allocations: 1.778 MB / 444.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1389, allocations: 32 / 444.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.1403, allocations: 0.8068 MB / 445.5 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.1404, allocations: 108.9 kB / 445.6 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.1405, allocations: 15.94 kB / 445.6 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.1407, allocations: 15.98 kB / 445.7 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.1408, allocations: 32.39 kB / 445.7 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1408, allocations: 24 kB / 445.7 MB, free: 84 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.1845/0.3253, allocations: 130.2 kB / 445.8 MB, free: 30.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3253, allocations: 0 / 445.8 MB, free: 30.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006995/0.326, allocations: 148.6 kB / 446 MB, free: 30.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.3262, allocations: 138.3 kB / 446.1 MB, free: 30.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3273, allocations: 0.5346 MB / 446.7 MB, free: 29.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3273, allocations: 4.406 kB / 446.7 MB, free: 29.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.3278, allocations: 358.7 kB / 447 MB, free: 29.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3282, allocations: 33.3 kB / 447 MB, free: 29.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3295, allocations: 0.8565 MB / 447.9 MB, free: 29.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3297, allocations: 0.8065 MB / 448.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3299, allocations: 36.73 kB / 448.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3299, allocations: 0 / 448.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01055/0.3404, allocations: 6.356 MB / 455.1 MB, free: 28.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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: 7.268584039993584]