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.001171/0.001171, allocations: 113.2 kB / 17.73 MB, free: 5.324 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.001161/0.001161, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.36/1.36, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001256/0.001256, allocations: 47.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08788, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1975/0.2855, allocations: 16.85 MB / 392 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009557/0.295, allocations: 4.237 MB / 396.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/0.299, allocations: 119.5 kB / 396.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01709/0.3162, allocations: 7.488 MB / 403.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.3241, allocations: 1.544 MB / 405.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.3281, allocations: 1.213 MB / 406.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3389, allocations: 8.566 MB / 415.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03472/0.3737, allocations: 22.57 MB / 437.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007541/0.3812, allocations: 4.968 MB / 442.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00953/0.3908, allocations: 5.532 MB / 448.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00486/0.3957, allocations: 1.402 MB / 449.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006316/0.402, allocations: 1.66 MB / 451.3 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004239/0.4063, allocations: 2.708 MB / 454 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01003/0.4164, allocations: 5.385 MB / 459.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.4377, allocations: 18.52 MB / 477.9 MB, free: 8.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4377, allocations: 0 / 477.9 MB, free: 8.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4377, allocations: 4 kB / 477.9 MB, free: 8.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004967/0.4382, allocations: 7.938 kB / 477.9 MB, free: 8.562 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.03412/0.4723, allocations: 10.79 MB / 488.7 MB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4724, allocations: 11.89 kB / 488.7 MB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03175/0.5042, allocations: 5.706 MB / 494.4 MB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.5145, allocations: 4.849 MB / 499.3 MB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007294/0.5153, allocations: 0.7025 MB / 500 MB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003475/0.5188, allocations: 0.914 MB / 0.4892 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/0.5578, allocations: 13.6 MB / 0.5024 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004141/0.5583, allocations: 7.906 kB / 0.5024 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003026/0.5613, allocations: 396 kB / 0.5028 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004965/0.5618, allocations: 460 kB / 0.5033 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02804/0.5899, allocations: 12.82 MB / 0.5158 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4503/1.04, allocations: 46.33 MB / 0.561 GB, free: 120.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.054, allocations: 17.09 MB / 0.5777 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/1.056, allocations: 1.869 MB / 0.5795 GB, free: 105.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009713/1.066, allocations: 5.96 MB / 0.5854 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.066, allocations: 59.03 kB / 0.5854 GB, free: 105.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.737e-06/1.066, allocations: 0 / 0.5854 GB, free: 105.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007832/1.074, allocations: 4.308 MB / 0.5896 GB, free: 104.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/1.074, allocations: 75.55 kB / 0.5897 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/1.078, allocations: 3.318 MB / 0.5929 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.079, allocations: 60.44 kB / 0.593 GB, free: 103.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/1.081, allocations: 4.188 MB / 0.5971 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/1.081, allocations: 0.6883 MB / 0.5978 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.082, allocations: 1.064 MB / 0.5988 GB, free: 99.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.807e-05/1.082, allocations: 301.1 kB / 0.5991 GB, free: 99.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/1.085, allocations: 2.044 MB / 0.6011 GB, free: 98.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/1.088, allocations: 4.694 MB / 0.6057 GB, free: 94.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/1.094, allocations: 7.086 MB / 0.6126 GB, free: 88.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.659e-05/1.094, allocations: 24.81 kB / 0.6126 GB, free: 88.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.0095/1.103, allocations: 7.011 MB / 0.6195 GB, free: 85.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/1.103, allocations: 44.03 kB / 0.6195 GB, free: 85.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.103, allocations: 97.28 kB / 0.6196 GB, free: 85.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000923/1.104, allocations: 446.9 kB / 0.62 GB, free: 85.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.108, allocations: 1.17 MB / 0.6212 GB, free: 85.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/1.112, allocations: 4.373 MB / 0.6254 GB, free: 81.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/1.116, allocations: 0.7178 MB / 0.6261 GB, free: 81.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.116, allocations: 287.6 kB / 0.6264 GB, free: 81.47 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.00481/1.121, allocations: 3.489 MB / 0.6298 GB, free: 79.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.121, allocations: 283.8 kB / 0.6301 GB, free: 79.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/1.126, allocations: 3.311 MB / 0.6333 GB, free: 76.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003012/1.129, allocations: 2.546 MB / 0.6358 GB, free: 73.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.129, allocations: 4 kB / 0.6358 GB, free: 73.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/1.129, allocations: 11.95 kB / 0.6358 GB, free: 73.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/1.146, allocations: 9.3 MB / 0.6449 GB, free: 64.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.146, allocations: 96 / 0.6449 GB, free: 64.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.147, allocations: 363.5 kB / 0.6452 GB, free: 64.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006307/1.148, allocations: 316.5 kB / 0.6455 GB, free: 63.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.148, allocations: 39.94 kB / 0.6456 GB, free: 63.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/1.152, allocations: 4.192 MB / 0.6497 GB, free: 59.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.152, allocations: 4 kB / 0.6497 GB, free: 59.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/1.157, allocations: 4.705 MB / 0.6543 GB, free: 54.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009756/1.158, allocations: 0.5869 MB / 0.6549 GB, free: 53.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/1.159, allocations: 32 kB / 0.6549 GB, free: 53.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.16, allocations: 135.8 kB / 0.655 GB, free: 53.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.16, allocations: 129.8 kB / 0.6551 GB, free: 53.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.161, allocations: 48 kB / 0.6552 GB, free: 53.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002934/1.164, allocations: 2.202 MB / 0.6573 GB, free: 51.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.164, allocations: 0 / 0.6573 GB, free: 51.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005003/1.169, allocations: 2.037 MB / 0.6593 GB, free: 49.41 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.000423/1.169, allocations: 190.6 kB / 0.6595 GB, free: 49.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006071/1.175, allocations: 4.727 MB / 0.6641 GB, free: 44.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.175, allocations: 1 kB / 0.6641 GB, free: 44.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/1.177, allocations: 1.602 MB / 0.6657 GB, free: 42.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.18, allocations: 0.6807 MB / 0.6663 GB, free: 42.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.202, allocations: 13.69 MB / 0.6797 GB, free: 28.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004641/1.207, allocations: 5.796 MB / 0.6854 GB, free: 22.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003697/1.211, allocations: 1.824 MB / 0.6872 GB, free: 20.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/1.211, allocations: 239.3 kB / 0.6874 GB, free: 20.64 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/1.211, allocations: 0 / 0.6874 GB, free: 20.64 MB / 478.1 MB Notification: Performance of Templates: time 0.06675/1.278, allocations: 39.58 MB / 0.726 GB, free: 13.08 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