Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 113.3 kB / 18.4 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 185.3 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1002, allocations: 46.62 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2049/0.3051, allocations: 5.33 MB / 381.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.3078, allocations: 1.477 MB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.3083, allocations: 29.69 kB / 382.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.3088, allocations: 218.7 kB / 382.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.3093, allocations: 192.3 kB / 383.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.3102, allocations: 395.1 kB / 383.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.3114, allocations: 1.131 MB / 384.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006886/0.3121, allocations: 486.7 kB / 385.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.3127, allocations: 403.6 kB / 385.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.3131, allocations: 429.6 kB / 385.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3133, allocations: 83.81 kB / 386 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.3135, allocations: 100.2 kB / 386.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3136, allocations: 205.5 kB / 386.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.314, allocations: 0.501 MB / 386.8 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3152, allocations: 1.169 MB / 387.9 MB, free: 7.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3152, allocations: 5.25 kB / 387.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3152, allocations: 0 / 387.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.3153, allocations: 0 / 387.9 MB, free: 7.688 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001806/0.3171, allocations: 1.305 MB / 389.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3171, allocations: 13.08 kB / 389.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.3173, allocations: 128.8 kB / 389.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/0.3182, allocations: 0.6481 MB / 390 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.3183, allocations: 79.78 kB / 390.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3184, allocations: 103.1 kB / 390.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.32, allocations: 1.026 MB / 391.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.3201, allocations: 10.78 kB / 391.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.3202, allocations: 43.75 kB / 391.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.3202, allocations: 26.78 kB / 391.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.3213, allocations: 0.5521 MB / 391.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.3251, allocations: 5.49 MB / 397.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.3256, allocations: 237.3 kB / 397.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.3259, allocations: 157.8 kB / 397.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.3261, allocations: 91.95 kB / 397.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.3261, allocations: 37.73 kB / 397.9 MB, free: 472 kB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.3261, allocations: 0 / 397.9 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.003704/0.3298, allocations: 1.702 MB / 399.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3299, allocations: 85.39 kB / 399.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.3307, allocations: 0.6362 MB / 400.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3307, allocations: 35.92 kB / 400.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.3311, allocations: 0.5965 MB / 400.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3313, allocations: 147.6 kB / 401.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3314, allocations: 138 kB / 401.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3316, allocations: 388 kB / 401.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.332, allocations: 150.5 kB / 401.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.3325, allocations: 499.4 kB / 402.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.3334, allocations: 0.7037 MB / 402.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.3335, allocations: 10.47 kB / 402.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001177/0.3346, allocations: 0.7071 MB / 403.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3347, allocations: 11.08 kB / 403.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3347, allocations: 11.94 kB / 403.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.3347, allocations: 17.31 kB / 403.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.3354, allocations: 198.5 kB / 403.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.3354, allocations: 28.08 kB / 403.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.3358, allocations: 31.89 kB / 403.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.3358, allocations: 40.47 kB / 404 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0003053/0.3361, allocations: 226.3 kB / 404.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3363, allocations: 79.28 kB / 404.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.3364, allocations: 77.89 kB / 404.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3364, allocations: 8.109 kB / 404.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3364, allocations: 9.312 kB / 404.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3365, allocations: 3.344 kB / 404.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.3385, allocations: 1.316 MB / 405.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.3385, allocations: 5.312 kB / 405.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.339, allocations: 103.3 kB / 405.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.339, allocations: 3.719 kB / 405.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.339, allocations: 17.17 kB / 405.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.339, allocations: 3.875 kB / 405.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.339, allocations: 6.484 kB / 405.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3401, allocations: 0.7026 MB / 406.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3402, allocations: 142.2 kB / 406.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.3403, allocations: 9.516 kB / 406.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.3405, allocations: 24.89 kB / 406.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.3406, allocations: 30.36 kB / 406.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.3407, allocations: 11.8 kB / 406.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.3412, allocations: 423.7 kB / 407.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3412, allocations: 0 / 407.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006981/0.3419, allocations: 136.6 kB / 407.3 MB, free: 10.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001537/0.342, allocations: 115.8 kB / 407.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.3429, allocations: 445 kB / 407.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.3429, allocations: 3.938 kB / 407.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3432, allocations: 152.9 kB / 408 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3438, allocations: 77.09 kB / 408.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.3464, allocations: 1.68 MB / 409.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.3471, allocations: 1.002 MB / 410.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3472, allocations: 69.58 kB / 410.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3472, allocations: 0 / 410.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of Templates: time 0.01608/0.3633, allocations: 9.337 MB / 420.1 MB, free: 1.906 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches