Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 110.2 kB / 18.4 MB, free: 4.512 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.001043/0.001043, allocations: 189.5 kB / 19.35 MB, free: 3.586 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.28/1.28, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001179/0.001179, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07125/0.07244, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004983/0.07745, allocations: 4.092 MB / 379.9 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1451/0.2226, allocations: 1.636 MB / 381.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.2228, allocations: 14.09 kB / 381.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.2244, allocations: 0.776 MB / 382.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.2255, allocations: 0.5837 MB / 382.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.2265, allocations: 0.5476 MB / 383.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007103/0.2272, allocations: 0.594 MB / 384.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.2279, allocations: 0.4969 MB / 384.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.2282, allocations: 264.6 kB / 384.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.2285, allocations: 323.5 kB / 385.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.2286, allocations: 55.38 kB / 385.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.229, allocations: 249.8 kB / 385.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.2291, allocations: 134.4 kB / 385.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.2293, allocations: 300.3 kB / 385.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.2303, allocations: 0.8513 MB / 386.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2303, allocations: 0 / 386.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2303, allocations: 4 kB / 386.7 MB, free: 8.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2303, allocations: 1.469 kB / 386.7 MB, free: 8.32 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002012/0.2323, allocations: 1.018 MB / 387.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2323, allocations: 9.359 kB / 387.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.2368, allocations: 0.6107 MB / 388.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.2374, allocations: 383.4 kB / 388.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.2374, allocations: 53.36 kB / 388.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2376, allocations: 69.62 kB / 388.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2388, allocations: 0.7345 MB / 389.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.2388, allocations: 5.906 kB / 389.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.2389, allocations: 29.69 kB / 389.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.2389, allocations: 16.59 kB / 389.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2402, allocations: 0.7164 MB / 390.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.2434, allocations: 2.531 MB / 392.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.2449, allocations: 1.952 MB / 394.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.2453, allocations: 221 kB / 395.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.2454, allocations: 92.06 kB / 395.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2454, allocations: 37.47 kB / 395.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.2455, allocations: 0 / 395.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001626/0.2471, allocations: 0.7189 MB / 395.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.2471, allocations: 60 kB / 396 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.2474, allocations: 316.5 kB / 396.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2474, allocations: 31.7 kB / 396.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.2476, allocations: 299.1 kB / 396.6 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.2477, allocations: 170.4 kB / 396.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2478, allocations: 108.7 kB / 396.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.2479, allocations: 350.2 kB / 397.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.2483, allocations: 171.5 kB / 397.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.2487, allocations: 345.2 kB / 397.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.2495, allocations: 0.5421 MB / 398.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2495, allocations: 1.844 kB / 398.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001116/0.2506, allocations: 0.6244 MB / 398.9 MB, free: 344 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2506, allocations: 15.16 kB / 398.9 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2507, allocations: 7.156 kB / 398.9 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.2509, allocations: 54.12 kB / 399 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.2514, allocations: 132.2 kB / 399.1 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.2531, allocations: 1.772 MB / 400.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.2535, allocations: 77.86 kB / 400.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.2536, allocations: 27.31 kB / 401 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004815/0.2541, allocations: 295.2 kB / 401.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004559/0.2545, allocations: 337.6 kB / 401.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000818/0.2554, allocations: 0.5341 MB / 402.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.2554, allocations: 3.359 kB / 402.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001164/0.2565, allocations: 0.6095 MB / 402.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2566, allocations: 6.75 kB / 402.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2566, allocations: 5.875 kB / 402.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.2568, allocations: 68.69 kB / 402.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.2573, allocations: 127.2 kB / 402.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.2588, allocations: 1.773 MB / 404.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.2592, allocations: 55.61 kB / 404.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.2593, allocations: 27.3 kB / 404.8 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.2595, allocations: 221.7 kB / 405 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.2595, allocations: 41.22 kB / 405 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.2607, allocations: 0.5245 MB / 405.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2607, allocations: 2.25 kB / 405.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2608, allocations: 0.5156 kB / 405.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.2609, allocations: 163 kB / 405.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.261, allocations: 10.86 kB / 405.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2613, allocations: 21.86 kB / 405.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.2614, allocations: 34.17 kB / 405.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001215/0.2626, allocations: 0.5546 MB / 406.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001239/0.2638, allocations: 0.7677 MB / 407.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003437/0.2642, allocations: 173.5 kB / 407.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.2644, allocations: 212.8 kB / 407.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.2644, allocations: 4 kB / 407.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.2665, allocations: 1.013 MB / 408.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of SimCode: time 0.001477/0.268, allocations: 1.335 MB / 409.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of Templates: time 0.01506/0.283, allocations: 9.098 MB / 418.9 MB, free: 2.855 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches