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.0007779/0.0007779, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003191/0.003191, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8359/0.8359, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793e-06/1.793e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.728e-05, allocations: 5.516 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003219/0.003247, allocations: 3.415 MB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004895, allocations: 1.401 MB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.005035, allocations: 12 kB / 330.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.00595, allocations: 0.7341 MB / 331.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.006468, allocations: 389.8 kB / 331.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.007019, allocations: 0.5172 MB / 332.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.007368, allocations: 481.5 kB / 332.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.007932, allocations: 422.8 kB / 333.2 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.00831, allocations: 319.3 kB / 333.5 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.0085, allocations: 207.4 kB / 333.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.008542, allocations: 44 kB / 333.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.008786, allocations: 203.7 kB / 333.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.008853, allocations: 115.5 kB / 334 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.008949, allocations: 163.6 kB / 334.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.009501, allocations: 0.7203 MB / 334.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.009503, allocations: 0 / 334.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009505, allocations: 4 kB / 334.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.00951, allocations: 4 kB / 334.9 MB, free: 6.312 MB / 298.7 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.001238/0.01075, allocations: 0.8446 MB / 335.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01078, allocations: 12.03 kB / 335.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.01237, allocations: 468.1 kB / 336.2 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.01288, allocations: 257.1 kB / 336.5 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.01291, allocations: 41.69 kB / 336.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.01297, allocations: 52.38 kB / 336.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.01359, allocations: 0.5515 MB / 337.1 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.01361, allocations: 8.062 kB / 337.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.01364, allocations: 24.12 kB / 337.2 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01365, allocations: 12 kB / 337.2 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009258/0.01458, allocations: 0.5751 MB / 337.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.01639, allocations: 1.51 MB / 339.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.01745, allocations: 0.5506 MB / 339.8 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.01773, allocations: 230.2 kB / 340 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.866e-05/0.01779, allocations: 24.48 kB / 340.1 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01781, allocations: 35.06 kB / 340.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.01781, allocations: 4 kB / 340.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.00103/0.01884, allocations: 0.6616 MB / 340.8 MB, free: 328 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.01888, allocations: 63.84 kB / 340.8 MB, free: 252 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.01899, allocations: 170.9 kB / 341 MB, free: 72 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01902, allocations: 33.7 kB / 341 MB, free: 32 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01912, allocations: 228.9 kB / 341.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.0192, allocations: 170.5 kB / 341.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.01928, allocations: 94.08 kB / 341.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.01936, allocations: 330.8 kB / 341.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.01954, allocations: 152.9 kB / 342 MB, free: 15.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.01977, allocations: 238 kB / 342.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.02019, allocations: 413.9 kB / 342.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.02019, allocations: 0 / 342.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001017/0.02121, allocations: 0.541 MB / 343.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.02123, allocations: 11.98 kB / 343.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.02123, allocations: 0 / 343.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.02145, allocations: 84.94 kB / 343.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.02164, allocations: 95.88 kB / 343.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.02273, allocations: 1.632 MB / 345 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.02285, allocations: 47.78 kB / 345 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.02287, allocations: 16 kB / 345 MB, free: 11.82 MB / 314.7 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.0001239/0.02299, allocations: 169.7 kB / 345.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.02302, allocations: 27.84 kB / 345.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.02366, allocations: 0.5363 MB / 345.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.02367, allocations: 4 kB / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.02367, allocations: 4 kB / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02367, allocations: 7.984 kB / 345.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009419/0.02462, allocations: 0.9814 MB / 346.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.02462, allocations: 3.938 kB / 346.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.02478, allocations: 75.89 kB / 346.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.02492, allocations: 80.88 kB / 346.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.02494, allocations: 15.98 kB / 346.9 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009541/0.0259, allocations: 1.635 MB / 348.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.0259, allocations: 0 / 348.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.02668, allocations: 0.7973 MB / 349.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.0267, allocations: 39.66 kB / 349.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.02672, allocations: 15.88 kB / 349.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.02683, allocations: 24.11 kB / 349.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.02689, allocations: 32.44 kB / 349.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.0269, allocations: 19.98 kB / 349.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.175e-05/0.02697, allocations: 128.1 kB / 349.6 MB, free: 7.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02697, allocations: 0 / 349.6 MB, free: 7.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.02728, allocations: 147.7 kB / 349.8 MB, free: 6.895 MB / 314.7 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.0002073/0.02749, allocations: 143.2 kB / 349.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008937/0.02838, allocations: 0.5436 MB / 350.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02838, allocations: 0 / 350.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.02868, allocations: 357.4 kB / 350.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.02891, allocations: 28.69 kB / 350.8 MB, free: 5.797 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.02977, allocations: 0.8157 MB / 351.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.02988, allocations: 204.8 kB / 351.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.02996, allocations: 40.48 kB / 351.9 MB, free: 4.684 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02996, allocations: 0 / 351.9 MB, free: 4.684 MB / 314.7 MB Notification: Performance of Templates: time 0.005596/0.03556, allocations: 6.655 MB / 358.5 MB, free: 14.02 MB / 330.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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.353153911419213]