Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001631/0.001631, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001291/0.001291, allocations: 47.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.0871, allocations: 46.61 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1927/0.2798, allocations: 16.86 MB / 392 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009456/0.2893, allocations: 4.24 MB / 396.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.2922, allocations: 115.3 kB / 396.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01648/0.3087, allocations: 7.462 MB / 403.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.3167, allocations: 1.534 MB / 405.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004635/0.3213, allocations: 1.215 MB / 406.6 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.3342, allocations: 8.571 MB / 415.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03238/0.3667, allocations: 22.58 MB / 437.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007585/0.3743, allocations: 4.96 MB / 442.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009567/0.3839, allocations: 5.528 MB / 448.2 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004482/0.3884, allocations: 1.406 MB / 449.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006936/0.3954, allocations: 1.66 MB / 451.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004542/0.4, allocations: 2.704 MB / 454 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01219/0.4122, allocations: 5.382 MB / 459.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.434, allocations: 18.58 MB / 477.9 MB, free: 8.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.434, allocations: 0 / 477.9 MB, free: 8.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.434, allocations: 0 / 477.9 MB, free: 8.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004648/0.4345, allocations: 7.938 kB / 477.9 MB, free: 8.555 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03063/0.4651, allocations: 10.97 MB / 488.9 MB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4652, allocations: 15.88 kB / 488.9 MB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02949/0.4947, allocations: 5.75 MB / 494.7 MB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.5059, allocations: 4.852 MB / 499.5 MB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.5066, allocations: 0.7025 MB / 0.4885 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004401/0.511, allocations: 0.9218 MB / 0.4894 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/0.5464, allocations: 13.59 MB / 0.5027 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002496/0.5466, allocations: 15.89 kB / 0.5027 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002104/0.5488, allocations: 392 kB / 0.5031 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004223/0.5492, allocations: 456 kB / 0.5035 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02962/0.5788, allocations: 12.82 MB / 0.516 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4077/0.9866, allocations: 46.45 MB / 0.5614 GB, free: 120.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.9992, allocations: 17.1 MB / 0.5781 GB, free: 105.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002584/1.002, allocations: 1.868 MB / 0.5799 GB, free: 105.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009328/1.011, allocations: 5.967 MB / 0.5858 GB, free: 105.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.011, allocations: 57.94 kB / 0.5858 GB, free: 105.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.208e-06/1.011, allocations: 0 / 0.5858 GB, free: 105.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007479/1.019, allocations: 4.32 MB / 0.59 GB, free: 104.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.019, allocations: 74.28 kB / 0.5901 GB, free: 104.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/1.024, allocations: 3.331 MB / 0.5933 GB, free: 103.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002334/1.024, allocations: 62.89 kB / 0.5934 GB, free: 103.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/1.026, allocations: 4.35 MB / 0.5977 GB, free: 101.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000649/1.027, allocations: 0.7251 MB / 0.5984 GB, free: 100.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/1.028, allocations: 1.065 MB / 0.5994 GB, free: 100 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/1.028, allocations: 301.1 kB / 0.5997 GB, free: 99.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/1.03, allocations: 2.042 MB / 0.6017 GB, free: 99.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/1.034, allocations: 4.69 MB / 0.6063 GB, free: 94.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006196/1.04, allocations: 7.097 MB / 0.6132 GB, free: 89.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.085e-05/1.04, allocations: 26.88 kB / 0.6132 GB, free: 89.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01069/1.051, allocations: 7.026 MB / 0.6201 GB, free: 85.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/1.051, allocations: 47.59 kB / 0.6201 GB, free: 85.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.051, allocations: 95.23 kB / 0.6202 GB, free: 85.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/1.052, allocations: 430.9 kB / 0.6206 GB, free: 85.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/1.055, allocations: 1.176 MB / 0.6218 GB, free: 85.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/1.059, allocations: 4.389 MB / 0.6261 GB, free: 82.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/1.063, allocations: 0.7338 MB / 0.6268 GB, free: 81.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007143/1.064, allocations: 286.8 kB / 0.6271 GB, free: 81.71 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004805/1.069, allocations: 3.484 MB / 0.6305 GB, free: 79.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/1.069, allocations: 304.8 kB / 0.6307 GB, free: 79.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/1.074, allocations: 3.307 MB / 0.634 GB, free: 76.26 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002837/1.076, allocations: 2.546 MB / 0.6365 GB, free: 73.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.076, allocations: 7.875 kB / 0.6365 GB, free: 73.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.077, allocations: 8.719 kB / 0.6365 GB, free: 73.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/1.091, allocations: 9.306 MB / 0.6456 GB, free: 64.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.091, allocations: 0 / 0.6456 GB, free: 64.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.092, allocations: 363.4 kB / 0.6459 GB, free: 63.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/1.093, allocations: 312.6 kB / 0.6462 GB, free: 63.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.093, allocations: 43.98 kB / 0.6463 GB, free: 63.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/1.096, allocations: 4.196 MB / 0.6504 GB, free: 59.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.096, allocations: 4 kB / 0.6504 GB, free: 59.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/1.102, allocations: 4.719 MB / 0.655 GB, free: 54.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.103, allocations: 0.6001 MB / 0.6556 GB, free: 53.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/1.103, allocations: 36 kB / 0.6556 GB, free: 53.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.105, allocations: 127.8 kB / 0.6557 GB, free: 53.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.105, allocations: 129.9 kB / 0.6558 GB, free: 53.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.105, allocations: 55.98 kB / 0.6559 GB, free: 53.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002685/1.108, allocations: 2.198 MB / 0.658 GB, free: 51.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.108, allocations: 0 / 0.658 GB, free: 51.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005134/1.113, allocations: 2.058 MB / 0.66 GB, free: 49.32 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000465/1.113, allocations: 201.1 kB / 0.6602 GB, free: 49.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006082/1.119, allocations: 4.716 MB / 0.6648 GB, free: 44.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.119, allocations: 4.125 kB / 0.6648 GB, free: 44.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/1.121, allocations: 1.598 MB / 0.6664 GB, free: 42.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.124, allocations: 0.6922 MB / 0.6671 GB, free: 42.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.145, allocations: 13.91 MB / 0.6807 GB, free: 28.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/1.15, allocations: 5.796 MB / 0.6863 GB, free: 22.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003687/1.153, allocations: 1.824 MB / 0.6881 GB, free: 20.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.154, allocations: 239.4 kB / 0.6883 GB, free: 20.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/1.154, allocations: 0 / 0.6883 GB, free: 20.3 MB / 478.1 MB Notification: Performance of Templates: time 0.0676/1.222, allocations: 39.59 MB / 0.727 GB, free: 12.72 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches