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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=20000,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=20000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 230.4 MB / 250 MB, free: 8.992 MB / 206.1 MB 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.001913/0.001913, allocations: 63.83 kB / 367.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.27, allocations: 53.3 MB / 420.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004909/0.2749, allocations: 2.924 MB / 423.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.2768, allocations: 0.7205 MB / 424.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.277, allocations: 7.938 kB / 424.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.2773, allocations: 59.38 kB / 424.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.2775, allocations: 87.2 kB / 424.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.2778, allocations: 95.86 kB / 424.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.2782, allocations: 382.8 kB / 424.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.2785, allocations: 120.5 kB / 425 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.2788, allocations: 155.5 kB / 425.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.279, allocations: 155.3 kB / 425.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2791, allocations: 36 kB / 425.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.2791, allocations: 32 kB / 425.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.2792, allocations: 75.75 kB / 425.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2794, allocations: 171.1 kB / 425.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.2799, allocations: 390.2 kB / 426 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2799, allocations: 0 / 426 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2799, allocations: 0 / 426 MB, free: 2.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2799, allocations: 0 / 426 MB, free: 2.945 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.001103/0.281, allocations: 0.6264 MB / 426.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2811, allocations: 12.03 kB / 426.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2812, allocations: 36.7 kB / 426.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.2816, allocations: 271.8 kB / 427 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2816, allocations: 25.03 kB / 427 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.2817, allocations: 28.38 kB / 427 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.2822, allocations: 282.4 kB / 427.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2823, allocations: 0 / 427.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.2823, allocations: 16 kB / 427.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2823, allocations: 8 kB / 427.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.2828, allocations: 214.5 kB / 427.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.2844, allocations: 1.026 MB / 428.6 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.2847, allocations: 154.5 kB / 428.7 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.285, allocations: 124.8 kB / 428.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.285, allocations: 7.938 kB / 428.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.2851, allocations: 42.55 kB / 428.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.2851, allocations: 0 / 428.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00058/0.2857, allocations: 213.8 kB / 429.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2857, allocations: 55.34 kB / 429.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.2859, allocations: 227 kB / 429.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.286, allocations: 33.7 kB / 429.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.2861, allocations: 196.3 kB / 429.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.2862, allocations: 79.38 kB / 429.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.2863, allocations: 45.98 kB / 429.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2865, allocations: 330.8 kB / 430 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.2866, allocations: 64.53 kB / 430.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.2869, allocations: 151.4 kB / 430.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.2873, allocations: 217.2 kB / 430.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2873, allocations: 0 / 430.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005311/0.2878, allocations: 281.1 kB / 430.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2878, allocations: 7.938 kB / 430.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2879, allocations: 4 kB / 430.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2879, allocations: 4 kB / 430.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.2882, allocations: 72.16 kB / 430.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.2882, allocations: 11.92 kB / 430.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2884, allocations: 31.78 kB / 430.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.2884, allocations: 8 kB / 430.9 MB, free: 13.8 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.0001566/0.2886, allocations: 141.8 kB / 431 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.2886, allocations: 31.78 kB / 431 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.2891, allocations: 196.5 kB / 431.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.2891, allocations: 8.031 kB / 431.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.2891, allocations: 0 / 431.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2891, allocations: 4 kB / 431.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.29, allocations: 0.6079 MB / 431.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.29, allocations: 0 / 431.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.2903, allocations: 64.02 kB / 431.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2903, allocations: 0 / 431.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2903, allocations: 8 kB / 431.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2903, allocations: 0 / 431.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2903, allocations: 0 / 431.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.2909, allocations: 376.3 kB / 432.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.291, allocations: 109 kB / 432.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.2911, allocations: 0 / 432.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2912, allocations: 19.98 kB / 432.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.2913, allocations: 11.98 kB / 432.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2913, allocations: 8 kB / 432.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2915, allocations: 160.7 kB / 432.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2915, allocations: 0 / 432.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.2918, allocations: 75.78 kB / 432.7 MB, free: 11.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.0001695/0.292, allocations: 103.2 kB / 432.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004527/0.2925, allocations: 176.6 kB / 432.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.2925, allocations: 11.94 kB / 432.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.2926, allocations: 75.84 kB / 433 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.293, allocations: 35.31 kB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2945, allocations: 0.8431 MB / 433.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.2949, allocations: 0.7675 MB / 434.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.167e-05/0.2949, allocations: 25.89 kB / 434.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.295, allocations: 19.44 kB / 434.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.295, allocations: 0 / 434.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Templates: time 0.006014/0.301, allocations: 2.113 MB / 436.8 MB, free: 7.672 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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) Reference file matches