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.001053/0.001053, allocations: 107.2 kB / 18.4 MB, free: 4.625 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.001002/0.001002, allocations: 191.3 kB / 19.34 MB, free: 3.699 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.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.00123/0.00123, allocations: 47.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07366/0.0749, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1598/0.2347, allocations: 16.85 MB / 392.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007/0.2418, allocations: 4.245 MB / 396.9 MB, free: 324 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.2431, allocations: 114.5 kB / 397 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01511/0.2582, allocations: 7.461 MB / 404.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005424/0.2637, allocations: 1.539 MB / 406 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.2667, allocations: 1.218 MB / 407.3 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009176/0.2759, allocations: 8.572 MB / 415.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02838/0.3043, allocations: 22.57 MB / 438.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/0.3107, allocations: 4.972 MB / 443.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007027/0.3177, allocations: 5.528 MB / 448.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002146/0.3199, allocations: 1.402 MB / 450.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.323, allocations: 1.66 MB / 452 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.3251, allocations: 2.712 MB / 454.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006009/0.3311, allocations: 5.385 MB / 460.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.3475, allocations: 18.52 MB / 478.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3475, allocations: 0 / 478.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3475, allocations: 0 / 478.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000384/0.3479, allocations: 3.938 kB / 478.6 MB, free: 8.633 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.0275/0.3754, allocations: 10.79 MB / 489.4 MB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3755, allocations: 11.89 kB / 489.4 MB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03131/0.4068, allocations: 5.71 MB / 495.1 MB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008998/0.4158, allocations: 4.845 MB / 499.9 MB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005011/0.4164, allocations: 0.7025 MB / 0.4889 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/0.4186, allocations: 0.9179 MB / 0.4898 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.4446, allocations: 13.6 MB / 0.5031 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.4448, allocations: 7.906 kB / 0.5031 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009609/0.4457, allocations: 392 kB / 0.5035 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003817/0.4461, allocations: 460 kB / 0.5039 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/0.4692, allocations: 12.82 MB / 0.5164 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3528/0.822, allocations: 46.32 MB / 0.5617 GB, free: 120.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.8335, allocations: 17.09 MB / 0.5784 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/0.8358, allocations: 1.87 MB / 0.5802 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008303/0.8441, allocations: 5.961 MB / 0.586 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.8441, allocations: 51.59 kB / 0.5861 GB, free: 105.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.456e-06/0.8441, allocations: 0 / 0.5861 GB, free: 105.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.00669/0.8508, allocations: 4.318 MB / 0.5903 GB, free: 104.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.8509, allocations: 74.89 kB / 0.5903 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003564/0.8544, allocations: 3.323 MB / 0.5936 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.8546, allocations: 56.7 kB / 0.5936 GB, free: 103.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.8559, allocations: 4.184 MB / 0.5977 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.8563, allocations: 0.6897 MB / 0.5984 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.8573, allocations: 1.065 MB / 0.5994 GB, free: 99.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.8573, allocations: 305.1 kB / 0.5997 GB, free: 99.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.8595, allocations: 2.043 MB / 0.6017 GB, free: 98.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.8623, allocations: 4.684 MB / 0.6063 GB, free: 94.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005039/0.8674, allocations: 7.098 MB / 0.6132 GB, free: 88.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/0.8674, allocations: 25.88 kB / 0.6133 GB, free: 88.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.007707/0.8751, allocations: 7.009 MB / 0.6201 GB, free: 85.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.8752, allocations: 47.19 kB / 0.6201 GB, free: 85.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-05/0.8752, allocations: 90.53 kB / 0.6202 GB, free: 85.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/0.8759, allocations: 433.6 kB / 0.6206 GB, free: 85.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/0.879, allocations: 1.176 MB / 0.6218 GB, free: 85.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.8826, allocations: 4.383 MB / 0.6261 GB, free: 82.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.8855, allocations: 0.7205 MB / 0.6268 GB, free: 81.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/0.8858, allocations: 287.4 kB / 0.627 GB, free: 81.54 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.003689/0.8895, allocations: 3.478 MB / 0.6304 GB, free: 79.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.8899, allocations: 290.9 kB / 0.6307 GB, free: 79.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.894, allocations: 3.313 MB / 0.634 GB, free: 76.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.8941, allocations: 11.84 kB / 0.634 GB, free: 76.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8941, allocations: 0 / 0.634 GB, free: 76.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/0.8948, allocations: 0.5868 MB / 0.6345 GB, free: 75.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.895, allocations: 32 kB / 0.6346 GB, free: 75.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.8961, allocations: 131.8 kB / 0.6347 GB, free: 75.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.8963, allocations: 129.8 kB / 0.6348 GB, free: 75.46 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00389/0.9002, allocations: 3.007 MB / 0.6378 GB, free: 72.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004197/0.9044, allocations: 4.101 MB / 0.6418 GB, free: 68.35 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00117/0.9056, allocations: 1.202 MB / 0.6429 GB, free: 67.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002281/0.9079, allocations: 2.201 MB / 0.6451 GB, free: 64.95 MB / 478.1 MB Notification: Performance of Backend: time 7.61e-07/0.9079, allocations: 0 / 0.6451 GB, free: 64.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004919/0.9128, allocations: 3.882 MB / 0.6489 GB, free: 61.09 MB / 478.1 MB Notification: Performance of SimCode: time 0.01726/0.9301, allocations: 13.67 MB / 0.6622 GB, free: 47.39 MB / 478.1 MB Notification: Performance of Templates: time 0.06951/0.9996, allocations: 50.82 MB / 0.7119 GB, free: 12.62 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