Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.86 kB / 374.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09807, allocations: 53.32 MB / 427.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00433/0.1024, allocations: 2.919 MB / 430.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1038, allocations: 0.7089 MB / 431.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1039, allocations: 8 kB / 431.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1041, allocations: 51.44 kB / 431.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1043, allocations: 99.17 kB / 431.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1045, allocations: 87.83 kB / 431.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.105, allocations: 382.8 kB / 432.1 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.1052, allocations: 128.4 kB / 432.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2082/0.3134, allocations: 140.4 kB / 432.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.3137, allocations: 160 kB / 432.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.3138, allocations: 32.53 kB / 432.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.3139, allocations: 33.97 kB / 432.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.3139, allocations: 72.14 kB / 432.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3141, allocations: 177 kB / 432.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.3146, allocations: 387.6 kB / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3146, allocations: 2.875 kB / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3146, allocations: 0 / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3146, allocations: 0.8125 kB / 433.2 MB, free: 8.102 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.000904/0.3155, allocations: 0.6258 MB / 433.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3156, allocations: 8.969 kB / 433.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.3157, allocations: 40.08 kB / 433.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.316, allocations: 268.3 kB / 434.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3161, allocations: 21.44 kB / 434.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.3161, allocations: 38.69 kB / 434.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.3166, allocations: 281.2 kB / 434.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3166, allocations: 4.969 kB / 434.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3167, allocations: 13.69 kB / 434.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3167, allocations: 10.77 kB / 434.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.3171, allocations: 214.6 kB / 434.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.3185, allocations: 1.027 MB / 435.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.3188, allocations: 154.3 kB / 435.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.319, allocations: 120.2 kB / 436 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3191, allocations: 7.109 kB / 436 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3191, allocations: 41.09 kB / 436.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.3191, allocations: 3.562 kB / 436.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005439/0.3196, allocations: 222.8 kB / 436.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.3197, allocations: 52.88 kB / 436.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3198, allocations: 217.9 kB / 436.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3199, allocations: 26.73 kB / 436.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.3199, allocations: 193 kB / 436.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.32, allocations: 84.8 kB / 436.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.3201, allocations: 50.31 kB / 436.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.3201, allocations: 334.2 kB / 437.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3203, allocations: 65.22 kB / 437.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.3205, allocations: 145.2 kB / 437.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.3209, allocations: 229.7 kB / 437.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3209, allocations: 1.125 kB / 437.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004883/0.3214, allocations: 274.7 kB / 437.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3214, allocations: 8.109 kB / 437.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3214, allocations: 2.562 kB / 437.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3214, allocations: 4 kB / 437.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3217, allocations: 73.03 kB / 438 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3217, allocations: 9.688 kB / 438 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3219, allocations: 28.48 kB / 438 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3219, allocations: 10.09 kB / 438 MB, free: 5.801 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.0001021/0.322, allocations: 146.2 kB / 438.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.322, allocations: 26.98 kB / 438.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.3225, allocations: 200.9 kB / 438.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3225, allocations: 6.219 kB / 438.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3225, allocations: 6.047 kB / 438.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3225, allocations: 1.906 kB / 438.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.3232, allocations: 0.5994 MB / 439 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3232, allocations: 1.031 kB / 439 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3235, allocations: 55.44 kB / 439.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3235, allocations: 5.344 kB / 439.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3236, allocations: 6.953 kB / 439.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3236, allocations: 2.5 kB / 439.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3236, allocations: 0.6562 kB / 439.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.3241, allocations: 380.1 kB / 439.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3242, allocations: 95.83 kB / 439.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.3242, allocations: 10.67 kB / 439.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3244, allocations: 16.12 kB / 439.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3244, allocations: 12.83 kB / 439.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3244, allocations: 8.172 kB / 439.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3246, allocations: 150.9 kB / 439.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 4 kB / 439.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.3249, allocations: 78.41 kB / 439.8 MB, free: 4.91 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.0001196/0.325, allocations: 109.6 kB / 439.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004262/0.3255, allocations: 176 kB / 440.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3255, allocations: 5.125 kB / 440.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.3256, allocations: 77.84 kB / 440.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.326, allocations: 29.91 kB / 440.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3272, allocations: 0.8758 MB / 441.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3274, allocations: 0.7671 MB / 441.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.3275, allocations: 22.09 kB / 441.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3275, allocations: 0 / 441.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005893/0.3334, allocations: 3.002 MB / 444.9 MB, free: 3.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.1859815248753875]