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.001465/0.001465, allocations: 96.25 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001758/0.001758, allocations: 156.9 kB / 24.27 MB, free: 164 kB / 18.57 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.504/1.504, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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 2.454e-06/2.454e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.055e-05, allocations: 5.266 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004682/0.004713, allocations: 2.709 MB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.006273, allocations: 0.6931 MB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.006449, allocations: 4 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.006693, allocations: 59.42 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.006904, allocations: 95.08 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.007196, allocations: 95.8 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.007665, allocations: 390.7 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.007957, allocations: 124.8 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.008384, allocations: 227.5 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.008575, allocations: 119.7 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.008633, allocations: 32 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.008691, allocations: 32 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.00876, allocations: 67.75 kB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.008924, allocations: 119.7 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.009416, allocations: 402.6 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.00942, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009421, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.009428, allocations: 0 / 277.3 MB, free: 12.64 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001037/0.01046, allocations: 0.5404 MB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.01051, allocations: 15.97 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.01064, allocations: 68.7 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.01104, allocations: 197.2 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.01107, allocations: 29.03 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.01114, allocations: 36.36 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.01178, allocations: 334 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01179, allocations: 192 / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.01182, allocations: 12.38 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.01184, allocations: 11.94 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.01234, allocations: 210.5 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.01399, allocations: 0.8681 MB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.01435, allocations: 154.5 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.01467, allocations: 124.8 kB / 279.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.01468, allocations: 0 / 279.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.01472, allocations: 38.5 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 9.22e-07/0.01472, allocations: 0 / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007173/0.01544, allocations: 233 kB / 280.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.01548, allocations: 55.41 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.01572, allocations: 206.5 kB / 280.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.01575, allocations: 29.7 kB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.01591, allocations: 196.3 kB / 280.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.01598, allocations: 75.36 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.01607, allocations: 57.92 kB / 280.8 MB, free: 8.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.01626, allocations: 330.8 kB / 281.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.01644, allocations: 68.53 kB / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.01671, allocations: 151 kB / 281.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.01714, allocations: 221.2 kB / 281.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.01715, allocations: 0 / 281.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005913/0.01774, allocations: 285.2 kB / 281.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01775, allocations: 4 kB / 281.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.01777, allocations: 7.984 kB / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.01779, allocations: 7.938 kB / 281.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.01811, allocations: 68.2 kB / 281.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.01813, allocations: 11.94 kB / 281.9 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.01831, allocations: 31.81 kB / 282 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.01834, allocations: 12 kB / 282 MB, free: 7.73 MB / 266.7 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.0001663/0.0185, allocations: 145.7 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.01857, allocations: 23.91 kB / 282.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.01904, allocations: 191.3 kB / 282.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01904, allocations: 4 kB / 282.3 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.01905, allocations: 3.938 kB / 282.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01905, allocations: 11.92 kB / 282.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.01994, allocations: 0.4957 MB / 282.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01994, allocations: 3.938 kB / 282.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.02025, allocations: 51.97 kB / 282.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.639e-06/0.02026, allocations: 7.938 kB / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.02028, allocations: 7.984 kB / 282.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.02028, allocations: 4 kB / 282.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02028, allocations: 4.062 kB / 282.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.02099, allocations: 380.7 kB / 283.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.02102, allocations: 11.91 kB / 283.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.02106, allocations: 15.98 kB / 283.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.02124, allocations: 8 kB / 283.3 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.0213, allocations: 19.97 kB / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02131, allocations: 8 kB / 283.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.02146, allocations: 144.2 kB / 283.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02146, allocations: 0 / 283.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.02185, allocations: 79.78 kB / 283.6 MB, free: 6.051 MB / 266.7 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.0001418/0.02199, allocations: 107.2 kB / 283.7 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.02244, allocations: 168.7 kB / 283.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02244, allocations: 0 / 283.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.02263, allocations: 79.83 kB / 283.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.02298, allocations: 36.27 kB / 283.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.02431, allocations: 0.7133 MB / 284.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.02452, allocations: 159.1 kB / 284.8 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.776e-05/0.02461, allocations: 29.92 kB / 284.8 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.02468, allocations: 20.5 kB / 284.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of SimCode: time 5.82e-07/0.02468, allocations: 0 / 284.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of Templates: time 0.00579/0.03047, allocations: 1.824 MB / 286.7 MB, free: 2.895 MB / 266.7 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.570519937900826]