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.001334/0.001334, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.001448/0.001448, allocations: 156.3 kB / 24.48 MB, free: 3.461 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.408/1.408, allocations: 173.4 MB / 201.1 MB, free: 12.71 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.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.00158/0.00158, allocations: 50.64 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08455, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004821/0.08937, allocations: 3.396 MB / 375 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.09157, allocations: 1.332 MB / 376.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.09172, allocations: 12 kB / 376.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.09348, allocations: 0.7419 MB / 377.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.09457, allocations: 0.5131 MB / 377.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.09538, allocations: 402.5 kB / 378 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.09587, allocations: 465.9 kB / 378.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.09652, allocations: 418.3 kB / 378.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.09683, allocations: 219.3 kB / 379 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.09715, allocations: 246.8 kB / 379.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.09721, allocations: 44 kB / 379.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.09757, allocations: 195.7 kB / 379.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.09766, allocations: 107.6 kB / 379.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.09786, allocations: 195.1 kB / 379.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008068/0.09867, allocations: 0.7005 MB / 380.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09867, allocations: 3.938 kB / 380.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09867, allocations: 0 / 380.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.09868, allocations: 4 kB / 380.5 MB, free: 14.39 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.002111/0.1008, allocations: 0.8408 MB / 381.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1008, allocations: 12.03 kB / 381.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.1045, allocations: 0.4923 MB / 381.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.1049, allocations: 253.9 kB / 382.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.1049, allocations: 37.69 kB / 382.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.105, allocations: 52.38 kB / 382.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.106, allocations: 0.551 MB / 382.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.106, allocations: 3.984 kB / 382.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.1061, allocations: 23.98 kB / 382.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1061, allocations: 12 kB / 382.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1072, allocations: 0.5712 MB / 383.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.11, allocations: 1.498 MB / 384.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1115, allocations: 0.5346 MB / 385.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.112, allocations: 234.2 kB / 385.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.112, allocations: 12.48 kB / 385.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1121, allocations: 39.06 kB / 385.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.893e-06/0.1121, allocations: 4 kB / 385.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001799/0.1139, allocations: 0.6577 MB / 386.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1139, allocations: 55.91 kB / 386.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1141, allocations: 174.2 kB / 386.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.1141, allocations: 37.7 kB / 386.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1143, allocations: 228.9 kB / 386.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1144, allocations: 166.5 kB / 387 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.1146, allocations: 86.19 kB / 387.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1147, allocations: 334.8 kB / 387.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.115, allocations: 144.9 kB / 387.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.1154, allocations: 241.9 kB / 387.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.1161, allocations: 421.9 kB / 388.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1161, allocations: 0 / 388.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001065/0.1172, allocations: 0.5292 MB / 388.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1172, allocations: 8 kB / 388.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1172, allocations: 3.938 kB / 388.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.1175, allocations: 93.06 kB / 388.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.1179, allocations: 95.83 kB / 388.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.1198, allocations: 1.632 MB / 390.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.1201, allocations: 39.73 kB / 390.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.1201, allocations: 23.98 kB / 390.6 MB, free: 3.922 MB / 350.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.0002005/0.1203, allocations: 173.6 kB / 390.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.1204, allocations: 23.86 kB / 390.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.1215, allocations: 0.5364 MB / 391.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1215, allocations: 4 kB / 391.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1216, allocations: 7.938 kB / 391.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1216, allocations: 3.984 kB / 391.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.1232, allocations: 0.9698 MB / 392.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1232, allocations: 4 kB / 392.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.1236, allocations: 75.91 kB / 392.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.1238, allocations: 93.02 kB / 392.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.1239, allocations: 12 kB / 392.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.1256, allocations: 1.647 MB / 394.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1256, allocations: 0 / 394.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.127, allocations: 0.7896 MB / 394.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.127, allocations: 35.69 kB / 395 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.1271, allocations: 12 kB / 395 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1273, allocations: 24.11 kB / 395 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.1274, allocations: 36.38 kB / 395 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1274, allocations: 16 kB / 395.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1275, allocations: 120.1 kB / 395.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1275, allocations: 0 / 395.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.1281, allocations: 159.6 kB / 395.3 MB, free: 15 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.0002224/0.1283, allocations: 143 kB / 395.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1294, allocations: 0.5398 MB / 396 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1294, allocations: 0 / 396 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.13, allocations: 349.4 kB / 396.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1303, allocations: 36.56 kB / 396.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1317, allocations: 0.8199 MB / 397.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1319, allocations: 208.8 kB / 397.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.132, allocations: 42.95 kB / 397.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.1321, allocations: 40.42 kB / 397.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1321, allocations: 0 / 397.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.009412/0.1415, allocations: 4.131 MB / 401.6 MB, free: 8.656 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.30313464300707]