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.001543/0.001543, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001676/0.001676, allocations: 202.8 kB / 24.46 MB, free: 3.902 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.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001904/0.001904, allocations: 71.83 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 53.33 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004581/0.312, allocations: 2.929 MB / 435 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3134, allocations: 0.7244 MB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3136, allocations: 8 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.3138, allocations: 59.38 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.314, allocations: 83.19 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3143, allocations: 91.83 kB / 436 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.3147, allocations: 386.8 kB / 436.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.315, allocations: 124.5 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.3153, allocations: 151.5 kB / 436.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3155, allocations: 155.3 kB / 436.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.3156, allocations: 36 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.3156, allocations: 32 kB / 436.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.3157, allocations: 75.75 kB / 436.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.3159, allocations: 175.1 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.3163, allocations: 383.9 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3163, allocations: 0 / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3163, allocations: 4 kB / 437.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3163, allocations: 0 / 437.4 MB, free: 1.953 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.001074/0.3174, allocations: 0.6274 MB / 438.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3175, allocations: 8.031 kB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.3176, allocations: 40.7 kB / 438.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.318, allocations: 272.3 kB / 438.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.318, allocations: 21.03 kB / 438.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.3181, allocations: 36.36 kB / 438.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.3186, allocations: 282.4 kB / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3186, allocations: 0 / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3187, allocations: 16 kB / 438.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3187, allocations: 8 kB / 438.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.3191, allocations: 214.5 kB / 439 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.3208, allocations: 1.03 MB / 440 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.3212, allocations: 150.5 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.3214, allocations: 125.1 kB / 440.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3215, allocations: 7.891 kB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3215, allocations: 34.56 kB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.3215, allocations: 0 / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006027/0.3221, allocations: 220.7 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3222, allocations: 59.41 kB / 440.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.3224, allocations: 223 kB / 440.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3224, allocations: 25.7 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3226, allocations: 200.3 kB / 441 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.3226, allocations: 83.31 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.3227, allocations: 45.98 kB / 441.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3229, allocations: 330.8 kB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.323, allocations: 68.52 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.3233, allocations: 151.3 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.3237, allocations: 221.3 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3237, allocations: 4 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005346/0.3242, allocations: 277.1 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3242, allocations: 4 kB / 442.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3242, allocations: 4.25 kB / 442.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.3243, allocations: 8 kB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.3246, allocations: 75.89 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3246, allocations: 7.938 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3247, allocations: 27.83 kB / 442.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3248, allocations: 8 kB / 442.3 MB, free: 12.79 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.0001509/0.3249, allocations: 149.7 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.325, allocations: 23.8 kB / 442.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.3254, allocations: 195.4 kB / 442.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3254, allocations: 4 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3254, allocations: 0 / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3254, allocations: 3.984 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.3263, allocations: 0.6052 MB / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3263, allocations: 0 / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.3266, allocations: 55.97 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3266, allocations: 0 / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3266, allocations: 15.98 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3266, allocations: 0 / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3266, allocations: 4 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.3273, allocations: 373.3 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.3274, allocations: 109 kB / 443.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3274, allocations: 4 kB / 443.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3276, allocations: 15.98 kB / 443.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3276, allocations: 15.98 kB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3276, allocations: 8 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3278, allocations: 156.6 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3278, allocations: 0 / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.3281, allocations: 79.78 kB / 444.1 MB, free: 10.88 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.0001502/0.3283, allocations: 103.2 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.3287, allocations: 179.7 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3287, allocations: 0 / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3289, allocations: 79.83 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3293, allocations: 29.28 kB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3308, allocations: 0.8836 MB / 445.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.3312, allocations: 0.7675 MB / 446.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.3313, allocations: 27.42 kB / 446.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3313, allocations: 0 / 446.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of Templates: time 0.005158/0.3364, allocations: 2.996 MB / 449.1 MB, free: 5.754 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_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_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.0558457230217755]