Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008803/0.008803, allocations: 109 kB / 21.98 MB, free: 5.184 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.002285/0.002285, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 259 MB, free: 8.02 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 64.78 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.237, allocations: 53.37 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004491/0.2415, allocations: 2.938 MB / 436.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2429, allocations: 0.7244 MB / 436.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2431, allocations: 4 kB / 436.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2433, allocations: 63.36 kB / 436.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.2435, allocations: 91.19 kB / 437 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2438, allocations: 91.83 kB / 437.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.2443, allocations: 382.8 kB / 437.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.2445, allocations: 124.8 kB / 437.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.2449, allocations: 155.5 kB / 437.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.2451, allocations: 159.3 kB / 437.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.2452, allocations: 36 kB / 437.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.2452, allocations: 36 kB / 438 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.2453, allocations: 67.77 kB / 438 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.2454, allocations: 175.1 kB / 438.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.2459, allocations: 387.7 kB / 438.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2459, allocations: 0 / 438.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2459, allocations: 0 / 438.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2459, allocations: 0 / 438.6 MB, free: 1.551 MB / 334.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.0009831/0.2469, allocations: 0.5482 MB / 439.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2469, allocations: 12.03 kB / 439.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.247, allocations: 40.7 kB / 439.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.2474, allocations: 206.7 kB / 439.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2474, allocations: 29.03 kB / 439.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2475, allocations: 28.38 kB / 439.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.2481, allocations: 286.4 kB / 439.7 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2481, allocations: 0 / 439.7 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.2481, allocations: 16 kB / 439.7 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2481, allocations: 8 kB / 439.7 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.2486, allocations: 206.5 kB / 439.9 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2504, allocations: 0.9915 MB / 440.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.2507, allocations: 149.5 kB / 441.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.251, allocations: 121.1 kB / 441.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.2511, allocations: 11.89 kB / 441.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.2511, allocations: 38.56 kB / 441.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.2511, allocations: 0 / 441.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006003/0.2517, allocations: 225.3 kB / 441.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2517, allocations: 55.41 kB / 441.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.252, allocations: 219 kB / 441.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.252, allocations: 33.7 kB / 441.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.2522, allocations: 192.4 kB / 442 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.2523, allocations: 79.34 kB / 442 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2524, allocations: 45.98 kB / 442.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.2526, allocations: 334.8 kB / 442.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.2528, allocations: 68.52 kB / 442.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.253, allocations: 147.3 kB / 442.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.2535, allocations: 233.1 kB / 442.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2535, allocations: 0 / 442.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005224/0.254, allocations: 269.2 kB / 443.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.254, allocations: 4 kB / 443.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.254, allocations: 4 kB / 443.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.254, allocations: 4 kB / 443.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.2543, allocations: 75.89 kB / 443.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2543, allocations: 7.938 kB / 443.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2545, allocations: 40.02 kB / 443.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2545, allocations: 12 kB / 443.2 MB, free: 12.6 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.0001544/0.2547, allocations: 141.8 kB / 443.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.2547, allocations: 27.8 kB / 443.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.2552, allocations: 195.4 kB / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2552, allocations: 0 / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2552, allocations: 0 / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2552, allocations: 8 kB / 443.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.2561, allocations: 0.5769 MB / 444.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2561, allocations: 0 / 444.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.2564, allocations: 55.97 kB / 444.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2564, allocations: 4 kB / 444.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2564, allocations: 8.062 kB / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2564, allocations: 4 kB / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2564, allocations: 3.938 kB / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.2571, allocations: 374.2 kB / 444.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2571, allocations: 31.86 kB / 444.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.2571, allocations: 8 kB / 444.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2573, allocations: 11.98 kB / 444.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.2574, allocations: 15.97 kB / 444.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2574, allocations: 8 kB / 444.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.2575, allocations: 156.6 kB / 444.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2575, allocations: 0 / 444.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.2579, allocations: 83.78 kB / 444.9 MB, free: 10.82 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.0001171/0.258, allocations: 111 kB / 445 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004361/0.2585, allocations: 172.1 kB / 445.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2585, allocations: 0.5 kB / 445.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.2586, allocations: 83.89 kB / 445.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.259, allocations: 28.88 kB / 445.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2605, allocations: 0.8776 MB / 446.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.2609, allocations: 0.7636 MB / 447 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.261, allocations: 23.42 kB / 447 MB, free: 8.691 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.261, allocations: 0 / 447 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Templates: time 0.005457/0.2664, allocations: 2.996 MB / 450 MB, free: 5.711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.2356660349760205]