Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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 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.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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001208/0.001208, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009827/0.0009828, allocations: 47.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2241, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003683/0.2278, allocations: 2.897 MB / 404.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.2288, allocations: 0.6699 MB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.2289, allocations: 7.938 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.2291, allocations: 59.44 kB / 405.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.2293, allocations: 91.19 kB / 405.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.2296, allocations: 99.81 kB / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.2299, allocations: 374.9 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.2302, allocations: 168.4 kB / 405.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.2304, allocations: 147.5 kB / 405.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2306, allocations: 159.3 kB / 406.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.2306, allocations: 32 kB / 406.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.2307, allocations: 32 kB / 406.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.2308, allocations: 87.67 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.2309, allocations: 163.2 kB / 406.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.2313, allocations: 387.7 kB / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2313, allocations: 0 / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2313, allocations: 0 / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2313, allocations: 4 kB / 406.8 MB, free: 3.492 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.0009125/0.2322, allocations: 0.6238 MB / 407.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2323, allocations: 8.031 kB / 407.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.2324, allocations: 36.56 kB / 407.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.2327, allocations: 259.7 kB / 407.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.2327, allocations: 25.03 kB / 407.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.2328, allocations: 28.38 kB / 407.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.2333, allocations: 286.4 kB / 408 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2333, allocations: 8 kB / 408 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.2334, allocations: 15.94 kB / 408 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2334, allocations: 8 kB / 408 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.2338, allocations: 214.5 kB / 408.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.2353, allocations: 1.014 MB / 409.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.2356, allocations: 166.5 kB / 409.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.2359, allocations: 128.8 kB / 409.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2359, allocations: 7.938 kB / 409.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.236, allocations: 34.55 kB / 409.6 MB, free: 472 kB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.236, allocations: 0 / 409.6 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005516/0.2365, allocations: 232.1 kB / 409.8 MB, free: 236 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.2366, allocations: 55.41 kB / 409.9 MB, free: 168 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2368, allocations: 211.2 kB / 410.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2368, allocations: 29.7 kB / 410.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.237, allocations: 192 kB / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.237, allocations: 74.94 kB / 410.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.2371, allocations: 49.89 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2372, allocations: 342.8 kB / 410.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.2374, allocations: 60.53 kB / 410.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.2376, allocations: 143.4 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.238, allocations: 233.2 kB / 411.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.238, allocations: 0 / 411.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004889/0.2385, allocations: 273.2 kB / 411.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2385, allocations: 11.97 kB / 411.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2385, allocations: 4 kB / 411.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2386, allocations: 4 kB / 411.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.2389, allocations: 71.91 kB / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2389, allocations: 4 kB / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.239, allocations: 27.77 kB / 411.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2391, allocations: 12 kB / 411.6 MB, free: 14.35 MB / 334.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.0001267/0.2392, allocations: 146.4 kB / 411.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.2393, allocations: 27.66 kB / 411.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.2397, allocations: 201 kB / 411.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2397, allocations: 0 / 411.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2397, allocations: 3.938 kB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.2398, allocations: 100.8 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2398, allocations: 8 kB / 412.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.24, allocations: 19.98 kB / 412.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2401, allocations: 19.97 kB / 412.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006773/0.2407, allocations: 284.8 kB / 412.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000627/0.2414, allocations: 456.8 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001612/0.2416, allocations: 72.05 kB / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.2417, allocations: 156.6 kB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2417, allocations: 0 / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.2423, allocations: 202.1 kB / 413.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of SimCode: time 0.001294/0.2436, allocations: 1.256 MB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Templates: time 0.00546/0.249, allocations: 2.499 MB / 417 MB, free: 8.836 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches