Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.0017/0.0017, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001581/0.001581, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.621/1.621, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 47.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1239, allocations: 53.34 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004876/0.1287, allocations: 2.915 MB / 429.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1303, allocations: 0.7167 MB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.1306, allocations: 7.938 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1308, allocations: 59.44 kB / 430.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.1311, allocations: 87.19 kB / 430.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1315, allocations: 99.75 kB / 430.7 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2428/0.3743, allocations: 372.3 kB / 431.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.3747, allocations: 125.5 kB / 431.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.3751, allocations: 157.5 kB / 431.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.3753, allocations: 159.7 kB / 431.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.3754, allocations: 33.38 kB / 431.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.3755, allocations: 33.56 kB / 431.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.3755, allocations: 76.39 kB / 431.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3757, allocations: 173.8 kB / 431.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.3761, allocations: 386.1 kB / 432.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3761, allocations: 0 / 432.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3761, allocations: 0.5625 kB / 432.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.3762, allocations: 4.281 kB / 432.2 MB, free: 8.516 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009529/0.3771, allocations: 0.6209 MB / 432.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3772, allocations: 10.28 kB / 432.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.3772, allocations: 38.58 kB / 432.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3775, allocations: 261.9 kB / 433.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.3776, allocations: 27.19 kB / 433.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.3776, allocations: 32.19 kB / 433.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.3781, allocations: 287.6 kB / 433.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3782, allocations: 5.406 kB / 433.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3782, allocations: 13.84 kB / 433.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3782, allocations: 7.688 kB / 433.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.3787, allocations: 213.6 kB / 433.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.3801, allocations: 1.019 MB / 434.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.3805, allocations: 154.4 kB / 434.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3808, allocations: 123.9 kB / 435 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3808, allocations: 5.203 kB / 435 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3808, allocations: 40.62 kB / 435 MB, free: 7.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.3808, allocations: 0 / 435 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006191/0.3814, allocations: 224.6 kB / 435.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3815, allocations: 54.67 kB / 435.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3817, allocations: 214.1 kB / 435.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3817, allocations: 30.86 kB / 435.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.3818, allocations: 189.1 kB / 435.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3818, allocations: 85.47 kB / 435.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.3819, allocations: 52.56 kB / 435.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.382, allocations: 331 kB / 436.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.3822, allocations: 68.72 kB / 436.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3824, allocations: 145.9 kB / 436.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.3827, allocations: 226.2 kB / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3827, allocations: 0 / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004949/0.3832, allocations: 283.2 kB / 436.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3833, allocations: 6.641 kB / 436.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3833, allocations: 2.469 kB / 436.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3833, allocations: 4.219 kB / 436.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3836, allocations: 73.36 kB / 437 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3836, allocations: 4.328 kB / 437 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.3838, allocations: 33.28 kB / 437 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3838, allocations: 8.875 kB / 437 MB, free: 6.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.3839, allocations: 148.7 kB / 437.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.384, allocations: 27.98 kB / 437.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.3844, allocations: 193.3 kB / 437.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3844, allocations: 2.469 kB / 437.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3844, allocations: 4 kB / 437.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3844, allocations: 1.312 kB / 437.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008468/0.3853, allocations: 0.6036 MB / 438 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3853, allocations: 1.844 kB / 438 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.3856, allocations: 57.34 kB / 438 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3856, allocations: 1.594 kB / 438 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.3856, allocations: 10.98 kB / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3856, allocations: 1.438 kB / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3856, allocations: 4.641 kB / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.3863, allocations: 375.3 kB / 438.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3863, allocations: 100.8 kB / 438.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3863, allocations: 6.156 kB / 438.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3865, allocations: 14.02 kB / 438.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.3866, allocations: 16.23 kB / 438.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3866, allocations: 4.25 kB / 438.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3867, allocations: 155.3 kB / 438.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3867, allocations: 3.938 kB / 438.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.3871, allocations: 83.19 kB / 438.8 MB, free: 4.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.3873, allocations: 110.5 kB / 438.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.3878, allocations: 170.3 kB / 439.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3878, allocations: 0.5 kB / 439.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.388, allocations: 80.7 kB / 439.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3883, allocations: 33.72 kB / 439.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3898, allocations: 0.8457 MB / 440 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3901, allocations: 0.7677 MB / 440.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3902, allocations: 25.39 kB / 440.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.3902, allocations: 20.08 kB / 440.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3902, allocations: 0 / 440.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of Templates: time 0.007328/0.3976, allocations: 2.131 MB / 443 MB, free: 3.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.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.986975844949484]