Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 106.3 kB / 17.74 MB, free: 5.355 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.001933/0.001933, allocations: 189.3 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 49.44 MB / 401.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.00393/0.3203, allocations: 2.888 MB / 404.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3216, allocations: 0.6621 MB / 405 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.3219, allocations: 8 kB / 405 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3221, allocations: 63.38 kB / 405 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.3224, allocations: 91.19 kB / 405.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.3227, allocations: 91.88 kB / 405.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.3231, allocations: 382.3 kB / 405.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.3234, allocations: 149.4 kB / 405.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3236, allocations: 139.5 kB / 405.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.3238, allocations: 163.3 kB / 406 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3238, allocations: 32 kB / 406.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.3239, allocations: 32 kB / 406.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.324, allocations: 71.77 kB / 406.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3241, allocations: 163.2 kB / 406.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.3245, allocations: 390.3 kB / 406.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3245, allocations: 0 / 406.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3245, allocations: 0 / 406.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3245, allocations: 0 / 406.7 MB, free: 3.703 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008833/0.3254, allocations: 0.6185 MB / 407.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3255, allocations: 12.03 kB / 407.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.3255, allocations: 36.7 kB / 407.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.3259, allocations: 275.8 kB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3259, allocations: 25.03 kB / 407.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.326, allocations: 32.33 kB / 407.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3265, allocations: 274.4 kB / 408 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3265, allocations: 0 / 408 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.3266, allocations: 20 kB / 408 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3266, allocations: 8 kB / 408 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.327, allocations: 198.5 kB / 408.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.3284, allocations: 0.9755 MB / 409.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.3288, allocations: 166.6 kB / 409.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.329, allocations: 76.81 kB / 409.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.329, allocations: 0 / 409.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.329, allocations: 38.56 kB / 409.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.329, allocations: 0 / 409.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005423/0.3296, allocations: 213.7 kB / 409.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3296, allocations: 55.41 kB / 409.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3298, allocations: 211 kB / 409.9 MB, free: 292 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3298, allocations: 29.7 kB / 409.9 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3299, allocations: 192.4 kB / 410.1 MB, free: 56 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.33, allocations: 67.42 kB / 410.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.3301, allocations: 49.7 kB / 410.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3302, allocations: 326.8 kB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.3304, allocations: 75.89 kB / 410.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3306, allocations: 106 kB / 410.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.3309, allocations: 197.8 kB / 410.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3309, allocations: 0 / 410.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004488/0.3314, allocations: 241.3 kB / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3314, allocations: 8.031 kB / 411.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3314, allocations: 4 kB / 411.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3314, allocations: 0 / 411.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3317, allocations: 67.89 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3317, allocations: 7.938 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3319, allocations: 27.78 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3319, allocations: 11.98 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001252/0.332, allocations: 141.8 kB / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.3321, allocations: 27.78 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.3325, allocations: 195.4 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3325, allocations: 0 / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3325, allocations: 0 / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.3326, allocations: 96.91 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3326, allocations: 8 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3328, allocations: 23.98 kB / 411.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.3328, allocations: 11.97 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006655/0.3335, allocations: 292.6 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006037/0.3341, allocations: 445 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001578/0.3343, allocations: 64.02 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.3344, allocations: 148.6 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Backend: time 7.31e-07/0.3344, allocations: 0 / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.335, allocations: 197.1 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of SimCode: time 0.00132/0.3364, allocations: 1.258 MB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Templates: time 0.005442/0.3418, allocations: 2.435 MB / 416.6 MB, free: 9.422 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches