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.001422/0.001422, allocations: 92.33 kB / 20.95 MB, free: 3.586 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.001561/0.001561, allocations: 165.2 kB / 24.27 MB, free: 280 kB / 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 1.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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 1.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.473e-05, allocations: 6.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005377/0.005402, allocations: 3.404 MB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.008481, allocations: 1.401 MB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.008641, allocations: 8 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.01057, allocations: 0.7308 MB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.01158, allocations: 389.8 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.01278, allocations: 0.5253 MB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.01335, allocations: 477.7 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007269/0.01408, allocations: 422.2 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.01458, allocations: 319.2 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.01491, allocations: 207.4 kB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.01498, allocations: 44 kB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.01542, allocations: 207.7 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.01553, allocations: 111.6 kB / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.01574, allocations: 163.6 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009895/0.01673, allocations: 0.7202 MB / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01674, allocations: 0 / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.01674, allocations: 3.984 kB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.01675, allocations: 0 / 281.4 MB, free: 8.711 MB / 266.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.002247/0.01899, allocations: 0.8563 MB / 282.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01903, allocations: 12.03 kB / 282.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.02259, allocations: 0.5742 MB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.02311, allocations: 257 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.02316, allocations: 41.69 kB / 283.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.02326, allocations: 48.38 kB / 283.2 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.02463, allocations: 0.5592 MB / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.02465, allocations: 192 / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.02472, allocations: 24.12 kB / 283.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.02473, allocations: 12 kB / 283.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.0259, allocations: 0.5751 MB / 284.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.02908, allocations: 1.53 MB / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.03138, allocations: 0.5353 MB / 286.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.03217, allocations: 234.2 kB / 286.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.03231, allocations: 28.48 kB / 286.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.03236, allocations: 35.06 kB / 286.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.486e-06/0.03236, allocations: 0 / 286.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.00298/0.03534, allocations: 0.6927 MB / 287.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.03542, allocations: 63.91 kB / 287.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.03573, allocations: 172.9 kB / 287.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.03578, allocations: 33.7 kB / 287.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.03604, allocations: 228.9 kB / 287.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.03628, allocations: 162.5 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.03649, allocations: 86.19 kB / 288.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.03676, allocations: 330.8 kB / 288.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.03728, allocations: 156.9 kB / 288.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.03793, allocations: 234 kB / 288.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.03912, allocations: 421.9 kB / 289.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.03912, allocations: 4 kB / 289.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00174/0.04086, allocations: 0.5603 MB / 289.8 MB, free: 28 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.04089, allocations: 8 kB / 289.8 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.0409, allocations: 4.281 kB / 289.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.156/0.1969, allocations: 96.44 kB / 289.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.1974, allocations: 96.36 kB / 290 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.1991, allocations: 1.636 MB / 291.6 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.1995, allocations: 45.52 kB / 291.7 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.1995, allocations: 18.83 kB / 291.7 MB, free: 26.97 MB / 266.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.0002013/0.1997, allocations: 170 kB / 291.9 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1998, allocations: 43.09 kB / 291.9 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.201, allocations: 0.537 MB / 292.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.201, allocations: 5.406 kB / 292.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.201, allocations: 3.547 kB / 292.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.201, allocations: 2.906 kB / 292.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.2027, allocations: 0.9812 MB / 293.4 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2027, allocations: 1.844 kB / 293.4 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.2031, allocations: 80.92 kB / 293.5 MB, free: 26.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.2035, allocations: 103.3 kB / 293.6 MB, free: 26.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.2035, allocations: 16.36 kB / 293.6 MB, free: 26.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.205, allocations: 1.634 MB / 295.3 MB, free: 24.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.205, allocations: 3.5 kB / 295.3 MB, free: 24.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2063, allocations: 0.8213 MB / 296.1 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2063, allocations: 27.7 kB / 296.1 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.2064, allocations: 12.7 kB / 296.1 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2066, allocations: 15.84 kB / 296.2 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2067, allocations: 41.77 kB / 296.2 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.2068, allocations: 15.31 kB / 296.2 MB, free: 24.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.2069, allocations: 124.9 kB / 296.3 MB, free: 24.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2069, allocations: 0.5938 kB / 296.3 MB, free: 24.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005759/0.2074, allocations: 163.1 kB / 296.5 MB, free: 24.21 MB / 266.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.000242/0.2077, allocations: 141.8 kB / 296.6 MB, free: 24.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.2088, allocations: 0.5421 MB / 297.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2088, allocations: 0 / 297.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.2094, allocations: 352.6 kB / 297.5 MB, free: 23.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2097, allocations: 39.56 kB / 297.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2111, allocations: 0.7955 MB / 298.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2113, allocations: 206.1 kB / 298.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.2115, allocations: 48.28 kB / 298.6 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.2116, allocations: 33.19 kB / 298.6 MB, free: 23.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2116, allocations: 0 / 298.6 MB, free: 23.07 MB / 266.7 MB Notification: Performance of Templates: time 0.009472/0.221, allocations: 4.3 MB / 302.9 MB, free: 22.31 MB / 266.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.6286159890005365]