Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.00137/0.00137, allocations: 71.28 kB / 21.24 MB, free: 0.5469 MB / 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.001425/0.001425, allocations: 158.6 kB / 24.49 MB, free: 3.727 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.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 9.031 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 59.19 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08655, allocations: 53.35 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004961/0.09151, allocations: 3.401 MB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.09401, allocations: 1.39 MB / 383.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.09418, allocations: 16 kB / 383.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.09607, allocations: 0.739 MB / 384.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.09701, allocations: 374 kB / 384.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.09815, allocations: 0.5291 MB / 385.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.0987, allocations: 454.1 kB / 385.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.09944, allocations: 422.1 kB / 386.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.09978, allocations: 223.2 kB / 386.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.1001, allocations: 246.9 kB / 386.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.1002, allocations: 44 kB / 386.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.1006, allocations: 207.8 kB / 386.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1007, allocations: 107.6 kB / 387 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.101, allocations: 195.1 kB / 387.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008997/0.1019, allocations: 0.7005 MB / 387.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1019, allocations: 0 / 387.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1019, allocations: 3.938 kB / 387.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1019, allocations: 0 / 387.9 MB, free: 6.621 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.002278/0.1041, allocations: 0.8564 MB / 388.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1042, allocations: 8.031 kB / 388.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.1079, allocations: 472.1 kB / 389.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.1084, allocations: 257.8 kB / 389.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.1084, allocations: 37.69 kB / 389.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.1085, allocations: 56.38 kB / 389.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1095, allocations: 0.5588 MB / 390.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1095, allocations: 3.938 kB / 390.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.1096, allocations: 24 kB / 390.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1096, allocations: 12 kB / 390.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1107, allocations: 0.5712 MB / 390.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.1136, allocations: 1.514 MB / 392.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.1152, allocations: 0.5431 MB / 392.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.1157, allocations: 229.1 kB / 393 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.134e-05/0.1157, allocations: 24.47 kB / 393.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.1158, allocations: 39.06 kB / 393.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.1158, allocations: 0 / 393.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001866/0.1176, allocations: 0.6732 MB / 393.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1177, allocations: 59.91 kB / 393.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1179, allocations: 166.9 kB / 394 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1179, allocations: 37.7 kB / 394 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1181, allocations: 228.9 kB / 394.2 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.1182, allocations: 162.7 kB / 394.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1184, allocations: 94.12 kB / 394.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1185, allocations: 330.8 kB / 394.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.1189, allocations: 156.9 kB / 395 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.1193, allocations: 238 kB / 395.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/0.1201, allocations: 417.8 kB / 395.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1201, allocations: 4 kB / 395.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001106/0.1212, allocations: 0.5372 MB / 396.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1212, allocations: 8 kB / 396.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1212, allocations: 4 kB / 396.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.1215, allocations: 80.78 kB / 396.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.122, allocations: 95.89 kB / 396.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.124, allocations: 1.64 MB / 398 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.1243, allocations: 47.66 kB / 398 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.1243, allocations: 20 kB / 398 MB, free: 12.11 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.0002247/0.1245, allocations: 169.8 kB / 398.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.1246, allocations: 23.86 kB / 398.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.1259, allocations: 0.5363 MB / 398.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1259, allocations: 7.984 kB / 398.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1259, allocations: 3.938 kB / 398.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1259, allocations: 0 / 398.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.1277, allocations: 0.9891 MB / 399.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1277, allocations: 7.938 kB / 399.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.1281, allocations: 79.89 kB / 399.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.1284, allocations: 76.88 kB / 399.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.1284, allocations: 12 kB / 399.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.1302, allocations: 1.632 MB / 401.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1302, allocations: 0 / 401.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.1317, allocations: 0.809 MB / 402.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1318, allocations: 31.77 kB / 402.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.1318, allocations: 15.98 kB / 402.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.1321, allocations: 12 kB / 402.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.1322, allocations: 44.42 kB / 402.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.1322, allocations: 16.06 kB / 402.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1323, allocations: 123.2 kB / 402.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1323, allocations: 0 / 402.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005901/0.1329, allocations: 155.6 kB / 402.8 MB, free: 7.18 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.0002285/0.1331, allocations: 143.1 kB / 402.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.1343, allocations: 0.5402 MB / 403.5 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.1343, allocations: 4 kB / 403.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.1349, allocations: 357.1 kB / 403.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1352, allocations: 35.86 kB / 403.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1367, allocations: 0.8124 MB / 404.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1369, allocations: 204.8 kB / 404.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.137, allocations: 50.89 kB / 404.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.1371, allocations: 36.48 kB / 404.9 MB, free: 4.926 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1371, allocations: 0 / 404.9 MB, free: 4.926 MB / 366.1 MB Notification: Performance of Templates: time 0.009838/0.147, allocations: 4.262 MB / 409.2 MB, free: 0.7031 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.340761095983908]