Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.9 kB / 17.06 MB, free: 6.012 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.001352/0.001352, allocations: 191 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008805/0.0008805, allocations: 47.92 kB / 351.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2693, allocations: 49.43 MB / 400.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01615/0.2855, allocations: 16.51 MB / 417.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008471/0.294, allocations: 4.075 MB / 421.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.297, allocations: 143.6 kB / 421.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01523/0.3124, allocations: 7.439 MB / 428.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006702/0.3191, allocations: 1.475 MB / 430.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.3227, allocations: 1.093 MB / 431.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.3331, allocations: 8.246 MB / 439.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03224/0.3654, allocations: 22.51 MB / 462.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006342/0.3718, allocations: 4.816 MB / 467 MB, free: 6.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008426/0.3802, allocations: 5.33 MB / 472.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003895/0.3842, allocations: 1.383 MB / 473.7 MB, free: 15.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005079/0.3893, allocations: 1.636 MB / 475.4 MB, free: 13.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004084/0.3934, allocations: 2.588 MB / 478 MB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00872/0.4021, allocations: 5.211 MB / 483.2 MB, free: 6.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.4221, allocations: 18.3 MB / 0.4897 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4222, allocations: 0 / 0.4897 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4222, allocations: 0 / 0.4897 GB, free: 3.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005022/0.4227, allocations: 0 / 0.4897 GB, free: 3.699 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03107/0.4538, allocations: 10.43 MB / 0.4999 GB, free: 9.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4538, allocations: 15.89 kB / 0.4999 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02024/0.4741, allocations: 3.733 MB / 0.5036 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/0.4884, allocations: 5.355 MB / 0.5088 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008038/0.4892, allocations: 0.6824 MB / 0.5095 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003807/0.493, allocations: 0.8905 MB / 0.5103 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/0.5281, allocations: 12.73 MB / 0.5228 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002522/0.5284, allocations: 4 kB / 0.5228 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002344/0.5308, allocations: 376 kB / 0.5231 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003862/0.5312, allocations: 399.1 kB / 0.5235 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02569/0.5569, allocations: 11.41 MB / 0.5347 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4639/1.021, allocations: 43.09 MB / 0.5767 GB, free: 93.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007996/1.029, allocations: 10.5 MB / 0.587 GB, free: 83.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/1.031, allocations: 1.675 MB / 0.5886 GB, free: 81.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/1.031, allocations: 138.7 kB / 0.5888 GB, free: 81.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.031, allocations: 59.22 kB / 0.5888 GB, free: 81.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 3.717e-06/1.031, allocations: 0 / 0.5888 GB, free: 81.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006974/1.038, allocations: 4.659 MB / 0.5934 GB, free: 76.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/1.038, allocations: 77.34 kB / 0.5934 GB, free: 76.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/1.041, allocations: 2.926 MB / 0.5963 GB, free: 73.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/1.041, allocations: 65.64 kB / 0.5964 GB, free: 73.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/1.043, allocations: 3.83 MB / 0.6001 GB, free: 69.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/1.043, allocations: 0.7928 MB / 0.6009 GB, free: 68.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009801/1.044, allocations: 0.9443 MB / 0.6018 GB, free: 67.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.175e-05/1.044, allocations: 309.1 kB / 0.6021 GB, free: 67.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.046, allocations: 1.969 MB / 0.604 GB, free: 65.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/1.049, allocations: 4.152 MB / 0.6081 GB, free: 60.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004997/1.054, allocations: 6.517 MB / 0.6144 GB, free: 52.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-05/1.054, allocations: 20 kB / 0.6144 GB, free: 52.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007627/1.061, allocations: 6.503 MB / 0.6208 GB, free: 46.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/1.062, allocations: 36 kB / 0.6208 GB, free: 46.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.035e-05/1.062, allocations: 76 kB / 0.6209 GB, free: 46.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/1.062, allocations: 404.8 kB / 0.6213 GB, free: 45.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.065, allocations: 1.068 MB / 0.6223 GB, free: 44.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/1.069, allocations: 4.384 MB / 0.6266 GB, free: 40.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/1.072, allocations: 0.6192 MB / 0.6272 GB, free: 39.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000347/1.073, allocations: 244 kB / 0.6275 GB, free: 39.37 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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.00569/1.078, allocations: 3.371 MB / 0.6307 GB, free: 35.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005956/1.079, allocations: 276.5 kB / 0.631 GB, free: 35.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/1.084, allocations: 3.581 MB / 0.6345 GB, free: 32.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003076/1.087, allocations: 2.803 MB / 0.6372 GB, free: 29.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.087, allocations: 4 kB / 0.6372 GB, free: 29.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.087, allocations: 11.95 kB / 0.6373 GB, free: 29.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.1, allocations: 9.85 MB / 0.6469 GB, free: 19.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.1, allocations: 0 / 0.6469 GB, free: 19.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.101, allocations: 415.3 kB / 0.6473 GB, free: 18.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006084/1.102, allocations: 317.1 kB / 0.6476 GB, free: 18.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.102, allocations: 55.92 kB / 0.6476 GB, free: 18.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003611/1.106, allocations: 4.196 MB / 0.6517 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.106, allocations: 15.95 kB / 0.6517 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/1.111, allocations: 5.109 MB / 0.6567 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000983/1.112, allocations: 0.6024 MB / 0.6573 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.112, allocations: 44.06 kB / 0.6574 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.113, allocations: 139.8 kB / 0.6575 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/1.114, allocations: 149.7 kB / 0.6576 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.114, allocations: 63.98 kB / 0.6577 GB, free: 8.086 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002187/1.116, allocations: 1.959 MB / 0.6596 GB, free: 6.117 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.116, allocations: 0 / 0.6596 GB, free: 6.117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004129/1.12, allocations: 1.963 MB / 0.6615 GB, free: 4.148 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (215): * Single equations (assignments): 213 * 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.0003871/1.121, allocations: 212.1 kB / 0.6617 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005617/1.126, allocations: 4.622 MB / 0.6662 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.126, allocations: 0 / 0.6662 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/1.129, allocations: 1.747 MB / 0.668 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.132, allocations: 0.6853 MB / 0.6686 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.154, allocations: 13.2 MB / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005863/1.16, allocations: 5.642 MB / 0.687 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003792/1.164, allocations: 1.694 MB / 0.6887 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/1.164, allocations: 231.4 kB / 0.6889 GB, free: 8.035 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/1.164, allocations: 0 / 0.6889 GB, free: 8.035 MB / 494.1 MB Notification: Performance of Templates: time 0.07327/1.238, allocations: 40.03 MB / 0.728 GB, free: 204 kB / 0.5138 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches