Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2438, allocations: 50.54 MB / 409.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004626/0.2485, allocations: 3.698 MB / 413.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2512, allocations: 1.491 MB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.2516, allocations: 8 kB / 415.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2535, allocations: 0.7467 MB / 415.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.2545, allocations: 393.5 kB / 416.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2557, allocations: 0.5519 MB / 416.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.2563, allocations: 462 kB / 417.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007227/0.257, allocations: 467 kB / 417.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.2574, allocations: 219.2 kB / 417.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.2577, allocations: 282.9 kB / 418.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.2578, allocations: 44 kB / 418.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.2582, allocations: 219.8 kB / 418.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.2583, allocations: 103.6 kB / 418.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2586, allocations: 238.8 kB / 418.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009564/0.2595, allocations: 0.697 MB / 419.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2596, allocations: 0 / 419.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2596, allocations: 0 / 419.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.2596, allocations: 0 / 419.5 MB, free: 8.125 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002229/0.2618, allocations: 0.9131 MB / 420.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2619, allocations: 8.031 kB / 420.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.2654, allocations: 500 kB / 420.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.2659, allocations: 315.5 kB / 421.2 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.2659, allocations: 41.69 kB / 421.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.266, allocations: 48.38 kB / 421.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.267, allocations: 0.5298 MB / 421.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.267, allocations: 0 / 421.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.2671, allocations: 23.98 kB / 421.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2671, allocations: 16 kB / 421.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2681, allocations: 0.5751 MB / 422.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.271, allocations: 1.946 MB / 424.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.273, allocations: 2.17 MB / 426.6 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.2735, allocations: 266.1 kB / 426.8 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.2737, allocations: 174.6 kB / 427 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2737, allocations: 35 kB / 427 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.993e-06/0.2737, allocations: 4 kB / 427 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001734/0.2755, allocations: 0.7426 MB / 427.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2755, allocations: 55.84 kB / 427.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2757, allocations: 194.2 kB / 428 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.2757, allocations: 33.7 kB / 428.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2759, allocations: 220.4 kB / 428.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.276, allocations: 157.7 kB / 428.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2761, allocations: 86.25 kB / 428.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2763, allocations: 334.8 kB / 428.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.2766, allocations: 153 kB / 429 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.277, allocations: 242.5 kB / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.2778, allocations: 412.9 kB / 429.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.2778, allocations: 3.938 kB / 429.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00107/0.2789, allocations: 0.5355 MB / 430.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2789, allocations: 8 kB / 430.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2789, allocations: 4 kB / 430.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.2793, allocations: 81.02 kB / 430.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.2797, allocations: 95.83 kB / 430.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.2815, allocations: 1.775 MB / 432.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.2817, allocations: 51.45 kB / 432.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.2818, allocations: 20 kB / 432.2 MB, free: 10.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0001836/0.282, allocations: 165.8 kB / 432.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.2821, allocations: 35.56 kB / 432.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.2832, allocations: 0.5356 MB / 432.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.2832, allocations: 3.984 kB / 432.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2832, allocations: 4 kB / 432.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.2833, allocations: 108.7 kB / 433 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.2833, allocations: 11.94 kB / 433.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.2836, allocations: 20 kB / 433.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.2837, allocations: 36.38 kB / 433.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001069/0.2847, allocations: 0.5355 MB / 433.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00106/0.2858, allocations: 0.7246 MB / 434.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002931/0.2861, allocations: 167.3 kB / 434.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2862, allocations: 135.2 kB / 434.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2862, allocations: 4 kB / 434.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.2875, allocations: 0.5891 MB / 435.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of SimCode: time 0.00128/0.2888, allocations: 1.186 MB / 436.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Templates: time 0.01093/0.2998, allocations: 6.239 MB / 442.7 MB, free: 15.88 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches