Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001291/0.001291, allocations: 81.14 kB / 21.26 MB, free: 0.5352 MB / 14.72 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.001388/0.001388, allocations: 161.5 kB / 24.51 MB, free: 3.707 MB / 14.72 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 1.41/1.41, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 61.28 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09971, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004962/0.1047, allocations: 3.409 MB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1071, allocations: 1.402 MB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1073, allocations: 8 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.1091, allocations: 0.739 MB / 384.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008608/0.1099, allocations: 370 kB / 384.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1111, allocations: 0.5212 MB / 385.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.1116, allocations: 466 kB / 385.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.1122, allocations: 418 kB / 386.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.1126, allocations: 235.1 kB / 386.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1129, allocations: 239 kB / 386.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.113, allocations: 44 kB / 386.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.1133, allocations: 203.8 kB / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1134, allocations: 107.6 kB / 387 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1136, allocations: 195 kB / 387.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008436/0.1145, allocations: 0.7005 MB / 387.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1145, allocations: 0 / 387.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1145, allocations: 4 kB / 387.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.1145, allocations: 0 / 387.9 MB, free: 6.445 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.002085/0.1166, allocations: 0.8602 MB / 388.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1166, allocations: 11.98 kB / 388.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.1202, allocations: 472.1 kB / 389.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.1206, allocations: 253.8 kB / 389.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.1206, allocations: 49.69 kB / 389.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.1207, allocations: 48.38 kB / 389.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/0.1217, allocations: 0.551 MB / 390.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1218, allocations: 4 kB / 390.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.1218, allocations: 24 kB / 390.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1218, allocations: 12 kB / 390.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1229, allocations: 0.5751 MB / 390.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.1257, allocations: 1.514 MB / 392.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.1272, allocations: 0.5336 MB / 392.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.1277, allocations: 230.2 kB / 393 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.1277, allocations: 16.48 kB / 393.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.1278, allocations: 39.06 kB / 393.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.1278, allocations: 0 / 393.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001765/0.1295, allocations: 0.6733 MB / 393.8 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1296, allocations: 55.91 kB / 393.8 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1298, allocations: 174.9 kB / 394 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1298, allocations: 33.64 kB / 394 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1299, allocations: 229.1 kB / 394.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1301, allocations: 174.5 kB / 394.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1302, allocations: 90.06 kB / 394.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1304, allocations: 338.8 kB / 394.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.1307, allocations: 148.9 kB / 395 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.131, allocations: 234 kB / 395.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.1317, allocations: 421.9 kB / 395.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1317, allocations: 3.938 kB / 395.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001055/0.1328, allocations: 0.5407 MB / 396.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1328, allocations: 4 kB / 396.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1328, allocations: 4 kB / 396.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.1332, allocations: 88.97 kB / 396.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.1336, allocations: 95.89 kB / 396.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.1354, allocations: 1.628 MB / 398 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.1357, allocations: 55.72 kB / 398 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.1357, allocations: 19.94 kB / 398.1 MB, free: 11.93 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.0002029/0.1359, allocations: 165.7 kB / 398.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.136, allocations: 23.86 kB / 398.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.1371, allocations: 0.5441 MB / 398.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.1372, allocations: 4 kB / 398.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1372, allocations: 4 kB / 398.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1372, allocations: 8 kB / 398.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.1389, allocations: 0.9814 MB / 399.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1389, allocations: 0 / 399.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.1392, allocations: 79.83 kB / 399.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.1395, allocations: 80.88 kB / 399.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.1395, allocations: 15.92 kB / 400 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.1413, allocations: 1.624 MB / 401.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1413, allocations: 3.938 kB / 401.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1427, allocations: 0.7973 MB / 402.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1427, allocations: 39.77 kB / 402.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.1428, allocations: 8 kB / 402.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.143, allocations: 24.11 kB / 402.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.1431, allocations: 36.38 kB / 402.5 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.1431, allocations: 19.98 kB / 402.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1432, allocations: 123.2 kB / 402.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1432, allocations: 0 / 402.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005156/0.1438, allocations: 151.6 kB / 402.8 MB, free: 7.02 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.0002313/0.144, allocations: 135.2 kB / 402.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.1451, allocations: 0.5437 MB / 403.5 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1451, allocations: 4 kB / 403.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.1457, allocations: 361.9 kB / 403.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.146, allocations: 38.75 kB / 403.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1474, allocations: 0.8121 MB / 404.7 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1476, allocations: 212.7 kB / 404.9 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.1478, allocations: 50.89 kB / 404.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.1479, allocations: 36.48 kB / 405 MB, free: 4.758 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1479, allocations: 0 / 405 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Templates: time 0.009844/0.1577, allocations: 4.265 MB / 409.2 MB, free: 0.5312 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.294344284920953]