Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001061, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001161/0.001161, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001386/0.001386, allocations: 44.27 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09779, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005546/0.1034, allocations: 3.746 MB / 378.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1967/0.3002, allocations: 1.459 MB / 380.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.3007, allocations: 12.97 kB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.3026, allocations: 0.7558 MB / 381.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3041, allocations: 0.5631 MB / 381.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.3049, allocations: 424.5 kB / 382.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000838/0.3058, allocations: 494.5 kB / 382.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.3067, allocations: 470.4 kB / 383 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.3072, allocations: 229 kB / 383.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.3077, allocations: 292.2 kB / 383.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.427e-05/0.3079, allocations: 46.38 kB / 383.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.3084, allocations: 210.4 kB / 383.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.3085, allocations: 120 kB / 383.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.3087, allocations: 249 kB / 384.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008725/0.3096, allocations: 0.7148 MB / 384.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3096, allocations: 0 / 384.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3096, allocations: 1.406 kB / 384.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3096, allocations: 0 / 384.9 MB, free: 8.844 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00216/0.3118, allocations: 0.948 MB / 385.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3118, allocations: 8.938 kB / 385.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004261/0.3161, allocations: 0.5858 MB / 386.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.3165, allocations: 317.1 kB / 386.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.3166, allocations: 40.31 kB / 386.8 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3167, allocations: 58.16 kB / 386.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3178, allocations: 0.5691 MB / 387.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3178, allocations: 5.703 kB / 387.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.3179, allocations: 29.36 kB / 387.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.3179, allocations: 13.56 kB / 387.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.319, allocations: 0.6432 MB / 388.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.3219, allocations: 2.045 MB / 390.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.3239, allocations: 3.007 MB / 393.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.3244, allocations: 273.6 kB / 393.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.3244, allocations: 90.36 kB / 393.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3245, allocations: 42.56 kB / 393.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/0.3245, allocations: 0 / 393.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001644/0.3261, allocations: 0.7483 MB / 394.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.3262, allocations: 65.41 kB / 394.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3264, allocations: 205.5 kB / 394.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3264, allocations: 36.05 kB / 394.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.3265, allocations: 236.8 kB / 394.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.3266, allocations: 168 kB / 395 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.3267, allocations: 92.55 kB / 395.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.3268, allocations: 338.7 kB / 395.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.3271, allocations: 157.9 kB / 395.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.3274, allocations: 290.8 kB / 395.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.3281, allocations: 479.1 kB / 396.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3281, allocations: 5.25 kB / 396.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001031/0.3291, allocations: 0.5839 MB / 396.9 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3292, allocations: 6.641 kB / 396.9 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3292, allocations: 3.719 kB / 396.9 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.3295, allocations: 81.36 kB / 397 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.33, allocations: 116.7 kB / 397.1 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.3318, allocations: 1.775 MB / 398.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.3321, allocations: 53.92 kB / 398.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.3322, allocations: 23.27 kB / 398.9 MB, free: 14.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.3324, allocations: 167 kB / 399.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.3325, allocations: 37.53 kB / 399.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.3338, allocations: 0.5534 MB / 399.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3338, allocations: 5.562 kB / 399.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3338, allocations: 2.109 kB / 399.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3339, allocations: 3.422 kB / 399.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.336, allocations: 1.166 MB / 400.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.336, allocations: 0 / 400.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3363, allocations: 87.23 kB / 401 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.3366, allocations: 75.8 kB / 401 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.3366, allocations: 21.44 kB / 401 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.3382, allocations: 1.774 MB / 402.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.3383, allocations: 5.047 kB / 402.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.3397, allocations: 0.8146 MB / 403.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.3398, allocations: 115.7 kB / 403.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.3398, allocations: 8.734 kB / 403.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.34, allocations: 19.62 kB / 403.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.3402, allocations: 43.2 kB / 403.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3402, allocations: 16.27 kB / 403.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3403, allocations: 145.1 kB / 404 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3403, allocations: 0 / 404 MB, free: 11.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005854/0.3409, allocations: 160 kB / 404.1 MB, free: 11.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.3412, allocations: 133.9 kB / 404.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.3423, allocations: 0.5954 MB / 404.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.3424, allocations: 1.062 kB / 404.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.343, allocations: 381 kB / 405.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3434, allocations: 47.2 kB / 405.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.345, allocations: 0.8597 MB / 406.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.3454, allocations: 0.8163 MB / 407 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.3456, allocations: 54.84 kB / 407 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3457, allocations: 37.2 kB / 407 MB, free: 9.477 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3457, allocations: 0 / 407 MB, free: 9.477 MB / 334.1 MB Notification: Performance of Templates: time 0.009307/0.3551, allocations: 4.473 MB / 411.5 MB, free: 7.719 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches