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.001265/0.001265, allocations: 106.2 kB / 18.39 MB, free: 4.703 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.001233/0.001233, allocations: 192.1 kB / 19.33 MB, free: 3.781 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.41/1.41, 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.001506/0.001506, allocations: 55.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09064, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005699/0.09638, allocations: 3.746 MB / 379.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1853/0.2818, allocations: 1.46 MB / 381 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.282, allocations: 9.625 kB / 381 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.2838, allocations: 0.7509 MB / 381.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2851, allocations: 0.5658 MB / 382.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.2859, allocations: 428 kB / 382.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.2865, allocations: 493 kB / 383.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.2873, allocations: 476.6 kB / 383.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.2878, allocations: 228.1 kB / 383.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.2881, allocations: 292.7 kB / 384.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.2882, allocations: 47.16 kB / 384.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.2887, allocations: 210.3 kB / 384.5 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.2888, allocations: 116.7 kB / 384.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.289, allocations: 254.2 kB / 384.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008882/0.2899, allocations: 0.7135 MB / 385.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2899, allocations: 0 / 385.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2899, allocations: 1.125 kB / 385.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2899, allocations: 0 / 385.5 MB, free: 8.824 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.00207/0.292, allocations: 0.9455 MB / 386.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2921, allocations: 14.39 kB / 386.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.2969, allocations: 0.5813 MB / 387.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.2974, allocations: 316.1 kB / 387.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.2975, allocations: 40.97 kB / 387.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.2976, allocations: 58.62 kB / 387.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.2987, allocations: 0.5727 MB / 388.1 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.2988, allocations: 2.141 kB / 388.1 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.2988, allocations: 25.41 kB / 388.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2989, allocations: 13.59 kB / 388.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3001, allocations: 0.6435 MB / 388.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.3033, allocations: 2.046 MB / 390.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.3052, allocations: 3.003 MB / 393.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.3056, allocations: 276 kB / 394.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.3057, allocations: 90.8 kB / 394.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3058, allocations: 41.41 kB / 394.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.3058, allocations: 0 / 394.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001709/0.3075, allocations: 0.7466 MB / 394.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3075, allocations: 68.81 kB / 395 MB, free: 2.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3077, allocations: 201.5 kB / 395.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3078, allocations: 35.67 kB / 395.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3079, allocations: 236.3 kB / 395.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.308, allocations: 169.7 kB / 395.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3081, allocations: 92.8 kB / 395.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.3082, allocations: 338.2 kB / 396.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.3086, allocations: 158.4 kB / 396.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.309, allocations: 290.3 kB / 396.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.3098, allocations: 484.1 kB / 397 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3098, allocations: 0.9688 kB / 397 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001058/0.3109, allocations: 0.5878 MB / 397.6 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3109, allocations: 6.625 kB / 397.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3109, allocations: 4.844 kB / 397.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.3113, allocations: 78.38 kB / 397.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.3118, allocations: 116.9 kB / 397.8 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.3137, allocations: 1.777 MB / 399.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.314, allocations: 51.06 kB / 399.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.3141, allocations: 29.97 kB / 399.6 MB, free: 14.8 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.0002216/0.3143, allocations: 171.4 kB / 399.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.3144, allocations: 37.03 kB / 399.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.3156, allocations: 0.5439 MB / 400.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3156, allocations: 9.016 kB / 400.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3156, allocations: 1.906 kB / 400.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3156, allocations: 3 kB / 400.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3175, allocations: 1.167 MB / 401.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.3175, allocations: 2.078 kB / 401.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.3178, allocations: 85.25 kB / 401.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.3181, allocations: 83.39 kB / 401.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3182, allocations: 16.95 kB / 401.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.3199, allocations: 1.766 MB / 403.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3199, allocations: 2.078 kB / 403.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3213, allocations: 0.8133 MB / 404.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.3214, allocations: 113.6 kB / 404.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.3215, allocations: 10.75 kB / 404.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3218, allocations: 23.88 kB / 404.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3219, allocations: 38.72 kB / 404.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.322, allocations: 16.25 kB / 404.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3221, allocations: 145.3 kB / 404.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3221, allocations: 0 / 404.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005866/0.3227, allocations: 159.5 kB / 404.8 MB, free: 11.33 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.0002458/0.323, allocations: 134.4 kB / 404.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.3241, allocations: 0.5952 MB / 405.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3242, allocations: 1.188 kB / 405.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.3248, allocations: 381.5 kB / 405.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3252, allocations: 50.89 kB / 406 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3269, allocations: 0.8903 MB / 406.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3273, allocations: 0.8139 MB / 407.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3274, allocations: 40.91 kB / 407.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3274, allocations: 4 kB / 407.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of Templates: time 0.01118/0.3386, allocations: 6.733 MB / 414.4 MB, free: 6.328 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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