Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 112.4 kB / 17.29 MB, free: 6.219 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.001566/0.001566, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.343/1.343, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009805/0.0009805, allocations: 46.22 kB / 300.8 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.099, allocations: 49.45 MB / 350.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01773/0.1168, allocations: 16.2 MB / 366.4 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008631/0.1255, allocations: 4.029 MB / 370.5 MB, free: 368 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.1286, allocations: 131.6 kB / 370.6 MB, free: 236 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1831/0.3117, allocations: 7.059 MB / 377.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005188/0.3169, allocations: 1.295 MB / 379 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.32, allocations: 1.006 MB / 380 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00921/0.3292, allocations: 8.164 MB / 388.1 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0382/0.3674, allocations: 26.22 MB / 414.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008082/0.3755, allocations: 4.858 MB / 419.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007956/0.3835, allocations: 5.362 MB / 424.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003261/0.3868, allocations: 1.383 MB / 426 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004945/0.3918, allocations: 1.638 MB / 427.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003624/0.3954, allocations: 2.594 MB / 430.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008663/0.4041, allocations: 5.218 MB / 435.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.4214, allocations: 16.04 MB / 451.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.4215, allocations: 0 / 451.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4215, allocations: 7.938 kB / 451.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006031/0.4221, allocations: 0 / 451.4 MB, free: 14.77 MB / 366.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.03418/0.4563, allocations: 10.46 MB / 461.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4564, allocations: 15.88 kB / 461.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/0.4761, allocations: 3.728 MB / 465.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.4873, allocations: 5.176 MB / 470.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007116/0.488, allocations: 0.6782 MB / 471.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003896/0.4919, allocations: 0.896 MB / 472.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03517/0.5271, allocations: 12.74 MB / 485.1 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/0.5274, allocations: 7.906 kB / 485.1 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002317/0.5298, allocations: 378.9 kB / 485.5 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003642/0.5301, allocations: 399.1 kB / 485.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/0.5542, allocations: 11.43 MB / 497.3 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07305/0.6273, allocations: 43.68 MB / 0.5283 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.362/0.9893, allocations: 10.54 MB / 0.5386 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/0.9929, allocations: 1.721 MB / 0.5403 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.9932, allocations: 138.2 kB / 0.5404 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.9932, allocations: 62.73 kB / 0.5405 GB, free: 127.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.188e-06/0.9932, allocations: 2.438 kB / 0.5405 GB, free: 127.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.00969/1.003, allocations: 4.776 MB / 0.5452 GB, free: 126 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/1.003, allocations: 76 kB / 0.5452 GB, free: 126 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00596/1.009, allocations: 2.928 MB / 0.5481 GB, free: 125 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005491/1.01, allocations: 61.56 kB / 0.5482 GB, free: 124.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00323/1.013, allocations: 3.827 MB / 0.5519 GB, free: 122.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.014, allocations: 0.8033 MB / 0.5527 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/1.016, allocations: 0.9654 MB / 0.5536 GB, free: 121.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/1.016, allocations: 301.1 kB / 0.5539 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/1.019, allocations: 2.007 MB / 0.5559 GB, free: 120.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/1.023, allocations: 4.194 MB / 0.56 GB, free: 116.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/1.031, allocations: 6.589 MB / 0.5664 GB, free: 111.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/1.031, allocations: 27.75 kB / 0.5664 GB, free: 111.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.009608/1.041, allocations: 6.585 MB / 0.5729 GB, free: 108.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/1.041, allocations: 36.41 kB / 0.5729 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/1.041, allocations: 77.03 kB / 0.573 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/1.042, allocations: 408.6 kB / 0.5734 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/1.045, allocations: 1.059 MB / 0.5744 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/1.049, allocations: 4.379 MB / 0.5787 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.053, allocations: 0.6284 MB / 0.5793 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000866/1.054, allocations: 245.2 kB / 0.5795 GB, free: 105.5 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.005498/1.06, allocations: 3.372 MB / 0.5828 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/1.06, allocations: 271.8 kB / 0.5831 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.065, allocations: 3.674 MB / 0.5867 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003187/1.069, allocations: 2.884 MB / 0.5895 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.069, allocations: 4 kB / 0.5895 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.069, allocations: 12.89 kB / 0.5895 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.083, allocations: 10.06 MB / 0.5993 GB, free: 90.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.083, allocations: 7.828 kB / 0.5993 GB, free: 90.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.084, allocations: 411.4 kB / 0.5997 GB, free: 89.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006666/1.085, allocations: 316.8 kB / 0.6 GB, free: 89.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.085, allocations: 55.92 kB / 0.6001 GB, free: 89.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/1.089, allocations: 4.193 MB / 0.6042 GB, free: 85.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.089, allocations: 4 kB / 0.6042 GB, free: 85.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/1.095, allocations: 5.259 MB / 0.6093 GB, free: 79.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.097, allocations: 0.6128 MB / 0.6099 GB, free: 79.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/1.097, allocations: 40 kB / 0.6099 GB, free: 79.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.098, allocations: 139.8 kB / 0.6101 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/1.098, allocations: 145.9 kB / 0.6102 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.099, allocations: 63.98 kB / 0.6103 GB, free: 78.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002503/1.101, allocations: 1.963 MB / 0.6122 GB, free: 76.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.101, allocations: 0 / 0.6122 GB, free: 76.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005268/1.106, allocations: 1.971 MB / 0.6141 GB, free: 75.01 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.0005008/1.107, allocations: 212.5 kB / 0.6143 GB, free: 74.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01214/1.119, allocations: 7.159 MB / 0.6213 GB, free: 67.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.119, allocations: 4.125 kB / 0.6213 GB, free: 67.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.121, allocations: 1.777 MB / 0.623 GB, free: 65.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.125, allocations: 0.6969 MB / 0.6237 GB, free: 65.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.149, allocations: 16.75 MB / 0.6401 GB, free: 48.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006983/1.156, allocations: 5.478 MB / 0.6454 GB, free: 42.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.157, allocations: 263.4 kB / 0.6457 GB, free: 42.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.157, allocations: 0 / 0.6457 GB, free: 42.64 MB / 446.1 MB Notification: Performance of Templates: time 0.3484/1.506, allocations: 131.8 MB / 0.7743 GB, free: 94.75 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches