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.001076/0.001076, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001035/0.001035, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001183/0.001183, allocations: 43.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.07372, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1622/0.236, allocations: 16.85 MB / 392.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007316/0.2433, allocations: 4.234 MB / 396.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2448, allocations: 114.8 kB / 397 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0153/0.2601, allocations: 7.489 MB / 404.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.2653, allocations: 1.545 MB / 406.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.2681, allocations: 1.219 MB / 407.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009316/0.2774, allocations: 8.568 MB / 415.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02894/0.3064, allocations: 22.57 MB / 438.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006333/0.3128, allocations: 4.976 MB / 443.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007171/0.32, allocations: 5.528 MB / 448.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002006/0.322, allocations: 1.402 MB / 450.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.3252, allocations: 1.664 MB / 452 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.3274, allocations: 2.704 MB / 454.7 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005847/0.3332, allocations: 5.381 MB / 460.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.3498, allocations: 18.53 MB / 478.6 MB, free: 8.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3498, allocations: 0 / 478.6 MB, free: 8.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3498, allocations: 0 / 478.6 MB, free: 8.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003048/0.3501, allocations: 0 / 478.6 MB, free: 8.781 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.02646/0.3766, allocations: 10.8 MB / 489.4 MB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3767, allocations: 11.89 kB / 489.4 MB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03071/0.4074, allocations: 5.698 MB / 495.1 MB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.4183, allocations: 4.849 MB / 500 MB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006476/0.419, allocations: 0.7065 MB / 0.4889 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002725/0.4218, allocations: 0.9257 MB / 0.4898 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/0.4506, allocations: 13.59 MB / 0.5031 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.4509, allocations: 11.91 kB / 0.5031 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/0.4528, allocations: 392 kB / 0.5035 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004106/0.4532, allocations: 456 kB / 0.5039 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.4767, allocations: 12.83 MB / 0.5165 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.371/0.8477, allocations: 46.33 MB / 0.5617 GB, free: 120.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.8604, allocations: 17.1 MB / 0.5784 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.8628, allocations: 1.861 MB / 0.5802 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008962/0.8718, allocations: 5.968 MB / 0.586 GB, free: 105.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.8718, allocations: 54.5 kB / 0.5861 GB, free: 105.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.376e-06/0.8718, allocations: 0 / 0.5861 GB, free: 105.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007024/0.8789, allocations: 4.31 MB / 0.5903 GB, free: 105.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.8789, allocations: 73.25 kB / 0.5904 GB, free: 105.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.8827, allocations: 3.326 MB / 0.5936 GB, free: 104.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.8828, allocations: 55.83 kB / 0.5937 GB, free: 104 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.8843, allocations: 4.182 MB / 0.5978 GB, free: 100.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.8846, allocations: 0.6914 MB / 0.5984 GB, free: 100.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.8857, allocations: 1.064 MB / 0.5995 GB, free: 99.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.8857, allocations: 301.1 kB / 0.5998 GB, free: 99.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.888, allocations: 2.041 MB / 0.6017 GB, free: 98.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.8909, allocations: 4.688 MB / 0.6063 GB, free: 94.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005304/0.8962, allocations: 7.095 MB / 0.6133 GB, free: 88.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.14e-05/0.8962, allocations: 26.38 kB / 0.6133 GB, free: 88.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008164/0.9044, allocations: 7.008 MB / 0.6201 GB, free: 85.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.9045, allocations: 50.33 kB / 0.6202 GB, free: 85.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.858e-05/0.9046, allocations: 90.97 kB / 0.6203 GB, free: 85.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.9053, allocations: 436.4 kB / 0.6207 GB, free: 85.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/0.9085, allocations: 1.171 MB / 0.6218 GB, free: 85.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.9124, allocations: 4.385 MB / 0.6261 GB, free: 82.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.9155, allocations: 0.7155 MB / 0.6268 GB, free: 81.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.9158, allocations: 287.1 kB / 0.6271 GB, free: 81.73 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.003875/0.9197, allocations: 3.488 MB / 0.6305 GB, free: 79.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/0.9201, allocations: 287.4 kB / 0.6308 GB, free: 79.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.9244, allocations: 3.307 MB / 0.634 GB, free: 76.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.9244, allocations: 7.969 kB / 0.634 GB, free: 76.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9244, allocations: 4 kB / 0.634 GB, free: 76.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009335/0.9254, allocations: 0.5868 MB / 0.6346 GB, free: 76.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.9257, allocations: 32 kB / 0.6346 GB, free: 75.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.9268, allocations: 135.8 kB / 0.6347 GB, free: 75.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.927, allocations: 129.8 kB / 0.6349 GB, free: 75.73 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00397/0.931, allocations: 3.008 MB / 0.6378 GB, free: 72.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00422/0.9352, allocations: 4.101 MB / 0.6418 GB, free: 68.62 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/0.9364, allocations: 1.21 MB / 0.643 GB, free: 67.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002399/0.9388, allocations: 2.186 MB / 0.6451 GB, free: 65.22 MB / 478.1 MB Notification: Performance of Backend: time 4.2e-07/0.9388, allocations: 3.469 kB / 0.6451 GB, free: 65.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005409/0.9442, allocations: 3.885 MB / 0.6489 GB, free: 61.36 MB / 478.1 MB Notification: Performance of SimCode: time 0.0185/0.9628, allocations: 13.67 MB / 0.6623 GB, free: 47.66 MB / 478.1 MB Notification: Performance of Templates: time 0.07174/1.035, allocations: 50.89 MB / 0.712 GB, free: 12.77 MB / 494.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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