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.002047/0.002047, allocations: 120 kB / 18.5 MB, free: 4.52 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.00242/0.00242, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.496/1.496, allocations: 230.2 MB / 254.5 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.001835/0.001835, allocations: 63.89 kB / 373.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1135, allocations: 53.31 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004553/0.1181, allocations: 2.923 MB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1194, allocations: 0.7011 MB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1196, allocations: 11.94 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.1198, allocations: 59.42 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1199, allocations: 83.2 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1202, allocations: 95.81 kB / 431 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.1206, allocations: 382.8 kB / 431.4 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1208, allocations: 124.5 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.205/0.3259, allocations: 147.7 kB / 431.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.3262, allocations: 157.4 kB / 431.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.3262, allocations: 32.41 kB / 431.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.3263, allocations: 33.41 kB / 431.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.3264, allocations: 77.3 kB / 432 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3265, allocations: 170.5 kB / 432.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.327, allocations: 389.3 kB / 432.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.327, allocations: 0.8438 kB / 432.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.327, allocations: 1.094 kB / 432.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.327, allocations: 0 / 432.5 MB, free: 8.098 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.0008965/0.3279, allocations: 0.6219 MB / 433.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.328, allocations: 10.75 kB / 433.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.3281, allocations: 40.27 kB / 433.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3284, allocations: 276.6 kB / 433.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.3285, allocations: 22.69 kB / 433.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.3285, allocations: 34.62 kB / 433.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.329, allocations: 279.1 kB / 433.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.329, allocations: 4.969 kB / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3291, allocations: 12.88 kB / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3291, allocations: 8.125 kB / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.3295, allocations: 217.5 kB / 434 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.3309, allocations: 1.03 MB / 435.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.3313, allocations: 143.9 kB / 435.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.3316, allocations: 127.5 kB / 435.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3316, allocations: 13.67 kB / 435.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3316, allocations: 40.27 kB / 435.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/0.3316, allocations: 0 / 435.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006239/0.3322, allocations: 220.3 kB / 435.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3323, allocations: 53.62 kB / 435.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3325, allocations: 216.7 kB / 435.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3325, allocations: 30.61 kB / 435.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3326, allocations: 187 kB / 436.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.3326, allocations: 89.78 kB / 436.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.3327, allocations: 50.17 kB / 436.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.3328, allocations: 332.5 kB / 436.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.333, allocations: 68.59 kB / 436.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3332, allocations: 145.5 kB / 436.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.3336, allocations: 229.1 kB / 437 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3336, allocations: 1.344 kB / 437 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005308/0.3341, allocations: 273.6 kB / 437.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3341, allocations: 6.75 kB / 437.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3341, allocations: 2.344 kB / 437.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3342, allocations: 5 kB / 437.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3345, allocations: 71.66 kB / 437.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3345, allocations: 7.078 kB / 437.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3347, allocations: 32.3 kB / 437.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3347, allocations: 12.23 kB / 437.4 MB, free: 5.797 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.0001144/0.3348, allocations: 143.8 kB / 437.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.3348, allocations: 27.42 kB / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.3353, allocations: 197.1 kB / 437.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3353, allocations: 2.703 kB / 437.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3353, allocations: 3.938 kB / 437.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3353, allocations: 7.188 kB / 437.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.3361, allocations: 0.6047 MB / 438.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3361, allocations: 2.094 kB / 438.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.3364, allocations: 52.03 kB / 438.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3364, allocations: 2.438 kB / 438.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3365, allocations: 11.03 kB / 438.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3365, allocations: 4.938 kB / 438.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3365, allocations: 1.375 kB / 438.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.337, allocations: 368.7 kB / 438.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.3371, allocations: 102.4 kB / 438.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.3371, allocations: 5.672 kB / 438.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3373, allocations: 16.42 kB / 438.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.3374, allocations: 22.61 kB / 438.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3374, allocations: 6.312 kB / 438.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3375, allocations: 150.6 kB / 439.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3375, allocations: 0 / 439.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.3379, allocations: 83.62 kB / 439.2 MB, free: 4.902 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.0001093/0.338, allocations: 106.2 kB / 439.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.3384, allocations: 173 kB / 439.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3384, allocations: 1.375 kB / 439.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3386, allocations: 84.27 kB / 439.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3389, allocations: 25.73 kB / 439.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3402, allocations: 0.8465 MB / 440.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3404, allocations: 0.7675 MB / 441.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.963e-05/0.3405, allocations: 24.73 kB / 441.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.3406, allocations: 24.75 kB / 441.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3406, allocations: 1.188 kB / 441.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of Templates: time 0.007015/0.3476, allocations: 2.12 MB / 443.3 MB, free: 3.34 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/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_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: 4.894015019759536]