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.001035/0.001035, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.9 kB / 18.51 MB, free: 4.5 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.278/1.278, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001244/0.001244, allocations: 51.92 kB / 280.7 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08383, allocations: 46.62 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01635/0.1002, allocations: 16.86 MB / 344.1 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.1093, allocations: 4.232 MB / 348.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.1125, allocations: 115.7 kB / 348.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01561/0.1281, allocations: 7.46 MB / 355.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.1336, allocations: 1.538 MB / 357.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.1366, allocations: 1.216 MB / 358.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008334/0.1449, allocations: 8.491 MB / 367.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1938/0.3387, allocations: 22.67 MB / 389.9 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006128/0.3449, allocations: 4.94 MB / 394.8 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008667/0.3536, allocations: 5.542 MB / 400.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004355/0.358, allocations: 1.409 MB / 401.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.3635, allocations: 1.662 MB / 403.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002753/0.3663, allocations: 2.705 MB / 406.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005907/0.3722, allocations: 5.385 MB / 411.5 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.385, allocations: 18.42 MB / 429.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.385, allocations: 0 / 429.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3851, allocations: 0 / 429.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004466/0.3855, allocations: 0 / 429.9 MB, free: 9.785 MB / 334.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.02775/0.4133, allocations: 10.79 MB / 440.7 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4133, allocations: 15.89 kB / 440.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/0.4416, allocations: 5.694 MB / 446.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009794/0.4514, allocations: 4.835 MB / 451.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006582/0.4521, allocations: 0.7125 MB / 452 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003806/0.4559, allocations: 0.9177 MB / 452.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03629/0.4922, allocations: 13.59 MB / 466.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.4925, allocations: 11.89 kB / 466.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001579/0.4941, allocations: 391.3 kB / 466.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004092/0.4945, allocations: 456 kB / 467.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.5193, allocations: 12.83 MB / 480.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07247/0.5918, allocations: 46.92 MB / 0.5147 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.6063, allocations: 17.09 MB / 0.5314 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.609, allocations: 1.869 MB / 0.5332 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.29/0.899, allocations: 5.97 MB / 0.5391 GB, free: 147.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.8991, allocations: 50.88 kB / 0.5391 GB, free: 147.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=188): time 3.697e-06/0.8991, allocations: 1.312 kB / 0.5391 GB, free: 147.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.007942/0.9071, allocations: 4.308 MB / 0.5433 GB, free: 146.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.9071, allocations: 76.11 kB / 0.5434 GB, free: 146.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/0.9119, allocations: 3.325 MB / 0.5466 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.912, allocations: 56.27 kB / 0.5467 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.9139, allocations: 4.184 MB / 0.5508 GB, free: 142.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.9143, allocations: 0.6883 MB / 0.5515 GB, free: 141.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.9155, allocations: 1.066 MB / 0.5525 GB, free: 141.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.657e-05/0.9155, allocations: 301.1 kB / 0.5528 GB, free: 140.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.918, allocations: 2.043 MB / 0.5548 GB, free: 140.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.9212, allocations: 4.693 MB / 0.5594 GB, free: 135.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/0.9265, allocations: 7.092 MB / 0.5663 GB, free: 130.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-05/0.9265, allocations: 24.38 kB / 0.5663 GB, free: 130.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008452/0.935, allocations: 7.019 MB / 0.5732 GB, free: 127.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.9351, allocations: 43.81 kB / 0.5732 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.9352, allocations: 92.94 kB / 0.5733 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007885/0.936, allocations: 429.7 kB / 0.5737 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.9389, allocations: 1.181 MB / 0.5749 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.9426, allocations: 4.367 MB / 0.5791 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.9459, allocations: 0.7195 MB / 0.5798 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/0.9462, allocations: 290.5 kB / 0.5801 GB, free: 124.1 MB / 446.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.003754/0.95, allocations: 3.483 MB / 0.5835 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.9505, allocations: 288.2 kB / 0.5838 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.9545, allocations: 3.317 MB / 0.587 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002752/0.9573, allocations: 2.54 MB / 0.5895 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.9573, allocations: 8.875 kB / 0.5895 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.9573, allocations: 11.81 kB / 0.5895 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.9683, allocations: 9.305 MB / 0.5986 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9683, allocations: 0 / 0.5986 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.9695, allocations: 355.5 kB / 0.5989 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.9701, allocations: 325.2 kB / 0.5993 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/0.9702, allocations: 41.58 kB / 0.5993 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.9737, allocations: 4.198 MB / 0.6034 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9737, allocations: 4 kB / 0.6034 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.9785, allocations: 4.7 MB / 0.608 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009163/0.9795, allocations: 0.5875 MB / 0.6086 GB, free: 98.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.9798, allocations: 40 kB / 0.6086 GB, free: 98.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.9809, allocations: 131.8 kB / 0.6087 GB, free: 98.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.9811, allocations: 125.8 kB / 0.6088 GB, free: 98.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.9812, allocations: 51.98 kB / 0.6089 GB, free: 98.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002347/0.9836, allocations: 2.198 MB / 0.611 GB, free: 95.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9836, allocations: 3.172 kB / 0.611 GB, free: 95.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004231/0.9878, allocations: 2.033 MB / 0.613 GB, free: 93.8 MB / 446.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.0003877/0.9882, allocations: 201.5 kB / 0.6132 GB, free: 93.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008691/0.9969, allocations: 6.334 MB / 0.6194 GB, free: 87.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9969, allocations: 1.875 kB / 0.6194 GB, free: 87.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.9986, allocations: 1.598 MB / 0.621 GB, free: 85.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.001, allocations: 0.6922 MB / 0.6216 GB, free: 85.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.019, allocations: 13.87 MB / 0.6352 GB, free: 71.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004152/1.023, allocations: 5.798 MB / 0.6408 GB, free: 65.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003997/1.027, allocations: 1.828 MB / 0.6426 GB, free: 63.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/1.028, allocations: 239.4 kB / 0.6429 GB, free: 63.26 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/1.028, allocations: 0 / 0.6429 GB, free: 63.26 MB / 446.1 MB Notification: Performance of Templates: time 0.05921/1.087, allocations: 41.72 MB / 0.6836 GB, free: 21.57 MB / 446.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/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