Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 8.992 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.7 kB / 306.9 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09685, allocations: 50.54 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.178/0.2749, allocations: 16.21 MB / 373.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009618/0.2846, allocations: 4.109 MB / 377.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/0.2893, allocations: 134.6 kB / 377.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01488/0.3042, allocations: 7.07 MB / 385 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.3102, allocations: 1.16 MB / 386.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.3136, allocations: 1.146 MB / 387.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.3237, allocations: 7.884 MB / 395.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03769/0.3614, allocations: 18.92 MB / 414.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00977/0.3713, allocations: 4.285 MB / 418.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00872/0.38, allocations: 5.158 MB / 423.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003663/0.3837, allocations: 1.031 MB / 424.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005671/0.3894, allocations: 1.293 MB / 425.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004237/0.3937, allocations: 2.205 MB / 428 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01245/0.4062, allocations: 4.836 MB / 432.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.4239, allocations: 15.97 MB / 448.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.424, allocations: 7.922 kB / 448.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.424, allocations: 0 / 448.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006174/0.4246, allocations: 0 / 448.9 MB, free: 0.7891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03265/0.4573, allocations: 10.46 MB / 459.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4573, allocations: 8.031 kB / 459.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/0.4777, allocations: 3.748 MB / 463.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.4886, allocations: 5.183 MB / 468.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006461/0.4893, allocations: 0.6785 MB / 468.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003014/0.4923, allocations: 0.8866 MB / 469.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/0.527, allocations: 12.74 MB / 482.6 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003922/0.5274, allocations: 4 kB / 482.6 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002747/0.5302, allocations: 379.9 kB / 482.9 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004345/0.5306, allocations: 399.1 kB / 483.3 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02628/0.5569, allocations: 11.43 MB / 494.8 MB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07632/0.6333, allocations: 44.18 MB / 0.5263 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3538/0.9871, allocations: 10.53 MB / 0.5366 GB, free: 122.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.9901, allocations: 1.72 MB / 0.5383 GB, free: 122.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.9904, allocations: 221 kB / 0.5385 GB, free: 122.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.9905, allocations: 57.97 kB / 0.5385 GB, free: 122.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.248e-06/0.9905, allocations: 0 / 0.5385 GB, free: 122.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.008676/0.9992, allocations: 4.774 MB / 0.5432 GB, free: 121.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9992, allocations: 74.7 kB / 0.5433 GB, free: 121.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/1.004, allocations: 2.924 MB / 0.5461 GB, free: 120.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003026/1.004, allocations: 64.89 kB / 0.5462 GB, free: 120.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/1.006, allocations: 3.82 MB / 0.5499 GB, free: 117.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006357/1.007, allocations: 0.813 MB / 0.5507 GB, free: 117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/1.008, allocations: 0.9587 MB / 0.5516 GB, free: 116.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/1.008, allocations: 302.3 kB / 0.5519 GB, free: 116.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.011, allocations: 2.008 MB / 0.5539 GB, free: 115.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003304/1.014, allocations: 4.207 MB / 0.558 GB, free: 111.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005869/1.02, allocations: 6.589 MB / 0.5644 GB, free: 106.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.346e-05/1.02, allocations: 19.78 kB / 0.5645 GB, free: 106.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.008468/1.029, allocations: 6.584 MB / 0.5709 GB, free: 104.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/1.029, allocations: 42.73 kB / 0.5709 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.44e-05/1.029, allocations: 73.97 kB / 0.571 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/1.03, allocations: 408.2 kB / 0.5714 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/1.033, allocations: 1.063 MB / 0.5724 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/1.037, allocations: 4.059 MB / 0.5764 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.04, allocations: 0.6214 MB / 0.577 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005472/1.041, allocations: 254.1 kB / 0.5772 GB, free: 101.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005622/1.047, allocations: 3.37 MB / 0.5805 GB, free: 99.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/1.047, allocations: 274.3 kB / 0.5808 GB, free: 99.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/1.052, allocations: 3.668 MB / 0.5844 GB, free: 97.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003299/1.055, allocations: 2.887 MB / 0.5872 GB, free: 95.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.055, allocations: 8.812 kB / 0.5872 GB, free: 95.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/1.055, allocations: 11.58 kB / 0.5872 GB, free: 95.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.069, allocations: 10.06 MB / 0.597 GB, free: 86.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.069, allocations: 0 / 0.597 GB, free: 86.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/1.071, allocations: 414.3 kB / 0.5974 GB, free: 85.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006519/1.071, allocations: 313.2 kB / 0.5977 GB, free: 85.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.071, allocations: 58.98 kB / 0.5978 GB, free: 85.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/1.075, allocations: 3.873 MB / 0.6016 GB, free: 81.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.075, allocations: 4 kB / 0.6016 GB, free: 81.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/1.081, allocations: 5.256 MB / 0.6067 GB, free: 76.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.082, allocations: 0.6102 MB / 0.6073 GB, free: 75.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/1.083, allocations: 50.45 kB / 0.6074 GB, free: 75.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.084, allocations: 131.8 kB / 0.6075 GB, free: 75.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/1.084, allocations: 145.8 kB / 0.6076 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.084, allocations: 63.98 kB / 0.6077 GB, free: 75.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002305/1.086, allocations: 1.963 MB / 0.6096 GB, free: 73.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.086, allocations: 4.062 kB / 0.6096 GB, free: 73.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005057/1.091, allocations: 1.957 MB / 0.6115 GB, free: 71.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005625/1.092, allocations: 203.6 kB / 0.6117 GB, free: 71.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006592/1.099, allocations: 4.697 MB / 0.6163 GB, free: 66.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.099, allocations: 0 / 0.6163 GB, free: 66.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/1.101, allocations: 1.787 MB / 0.618 GB, free: 64.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.104, allocations: 0.647 MB / 0.6187 GB, free: 63.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.128, allocations: 16.75 MB / 0.635 GB, free: 47.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004874/1.133, allocations: 5.474 MB / 0.6404 GB, free: 41.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.134, allocations: 270.9 kB / 0.6406 GB, free: 41.41 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/1.134, allocations: 0 / 0.6406 GB, free: 41.41 MB / 446.1 MB Notification: Performance of Templates: time 0.3569/1.491, allocations: 131.7 MB / 0.7692 GB, free: 120.1 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches