Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.0008209/0.0008209, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008618/0.0008618, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8746/0.8746, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.104e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003107/0.003128, allocations: 3.423 MB / 303.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.004916, allocations: 1.383 MB / 304.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.005084, allocations: 12 kB / 304.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000959/0.006043, allocations: 0.7347 MB / 305.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.006673, allocations: 409.8 kB / 305.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.007258, allocations: 0.5175 MB / 306.2 MB, free: 416 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.007604, allocations: 0.5055 MB / 306.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.008149, allocations: 430.1 kB / 307.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.008443, allocations: 331.2 kB / 307.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.008632, allocations: 223.3 kB / 307.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.008676, allocations: 48 kB / 307.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.008913, allocations: 199.7 kB / 307.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.008973, allocations: 123.5 kB / 308 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.009081, allocations: 171.5 kB / 308.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.00964, allocations: 0.7359 MB / 308.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.009642, allocations: 0 / 308.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.009643, allocations: 0 / 308.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.009649, allocations: 4 kB / 308.9 MB, free: 13.66 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001241/0.01089, allocations: 0.8718 MB / 309.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.01093, allocations: 15.98 kB / 309.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.01285, allocations: 0.5859 MB / 310.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.01316, allocations: 269 kB / 310.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.01319, allocations: 41.69 kB / 310.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.01326, allocations: 56.38 kB / 310.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.01388, allocations: 0.5905 MB / 311.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.0139, allocations: 4.188 kB / 311.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.01393, allocations: 27.94 kB / 311.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01394, allocations: 16 kB / 311.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006764/0.01462, allocations: 0.6337 MB / 312 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.01647, allocations: 1.588 MB / 313.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.01739, allocations: 0.6112 MB / 314.2 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.01767, allocations: 238.2 kB / 314.4 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.01771, allocations: 16.48 kB / 314.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.01773, allocations: 39.06 kB / 314.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.824e-06/0.01774, allocations: 3.938 kB / 314.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.000976/0.01871, allocations: 0.6732 MB / 315.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.01874, allocations: 55.91 kB / 315.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01887, allocations: 194.1 kB / 315.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.0189, allocations: 33.7 kB / 315.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.019, allocations: 252.7 kB / 315.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.01908, allocations: 170.5 kB / 315.9 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.01917, allocations: 94.3 kB / 316 MB, free: 6.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.01925, allocations: 338.8 kB / 316.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.01944, allocations: 165.2 kB / 316.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01968, allocations: 284.7 kB / 316.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.02012, allocations: 475.5 kB / 317.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02012, allocations: 4 kB / 317.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006253/0.02075, allocations: 0.5837 MB / 317.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.02076, allocations: 11.98 kB / 317.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.02077, allocations: 480 / 317.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.02098, allocations: 84.8 kB / 317.9 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.0212, allocations: 115.8 kB / 318 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.02228, allocations: 1.636 MB / 319.6 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.02241, allocations: 55.62 kB / 319.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.02243, allocations: 23.98 kB / 319.7 MB, free: 2.465 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0001309/0.02256, allocations: 174.7 kB / 319.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.0226, allocations: 23.86 kB / 319.9 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/0.02322, allocations: 0.5488 MB / 320.4 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02322, allocations: 4 kB / 320.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.02323, allocations: 8 kB / 320.5 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02323, allocations: 7.922 kB / 320.5 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.02417, allocations: 1.009 MB / 321.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02417, allocations: 0 / 321.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.02433, allocations: 87.83 kB / 321.6 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.02448, allocations: 80.86 kB / 321.6 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.0245, allocations: 12 kB / 321.6 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009772/0.02547, allocations: 1.632 MB / 323.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02548, allocations: 0 / 323.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.02626, allocations: 0.8167 MB / 324.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.02628, allocations: 31.78 kB / 324.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.0263, allocations: 12.12 kB / 324.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.02641, allocations: 23.98 kB / 324.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.02647, allocations: 36.42 kB / 324.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.02648, allocations: 16 kB / 324.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.02655, allocations: 139.2 kB / 324.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02655, allocations: 0 / 324.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.02687, allocations: 159.6 kB / 324.5 MB, free: 13.46 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 (46): * Single equations (assignments): 45 * 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.000178/0.02705, allocations: 135.2 kB / 324.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.02768, allocations: 0.5671 MB / 325.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02768, allocations: 0 / 325.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.02798, allocations: 366.4 kB / 325.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.0282, allocations: 32 kB / 325.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.02917, allocations: 0.8704 MB / 326.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02929, allocations: 213.1 kB / 326.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.02937, allocations: 36.48 kB / 326.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02937, allocations: 0 / 326.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of Templates: time 0.006069/0.03544, allocations: 6.82 MB / 333.5 MB, free: 4.336 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.27427121065557]