Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001251/0.001251, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.716/1.716, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001254/0.001254, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.125, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.3002/0.4252, allocations: 5.949 MB / 381.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.4293, allocations: 1.687 MB / 382.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.43, allocations: 36.75 kB / 382.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.4307, allocations: 306.6 kB / 383.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.432, allocations: 369.7 kB / 383.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.4328, allocations: 356.9 kB / 383.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.4353, allocations: 2.016 MB / 385.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003867/0.4391, allocations: 2.701 MB / 388.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.441, allocations: 1.036 MB / 389.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4426, allocations: 1.203 MB / 390.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.4431, allocations: 309.4 kB / 391.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.4442, allocations: 480.5 kB / 391.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007979/0.445, allocations: 0.7309 MB / 392.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.4464, allocations: 1.263 MB / 393.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.4515, allocations: 3.79 MB / 397.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4515, allocations: 0 / 397.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4515, allocations: 0 / 397.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.477e-05/0.4516, allocations: 0 / 397.3 MB, free: 3.262 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005119/0.4567, allocations: 2.463 MB / 399.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4568, allocations: 13.61 kB / 399.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/0.4574, allocations: 237 kB / 400 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.4591, allocations: 1.182 MB / 401.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4592, allocations: 171.3 kB / 401.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.4595, allocations: 217.6 kB / 401.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/0.4641, allocations: 2.543 MB / 404.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.4641, allocations: 0 / 404.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.4643, allocations: 91.03 kB / 404.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-05/0.4644, allocations: 55.84 kB / 404.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.4681, allocations: 2.137 MB / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.4799, allocations: 7.487 MB / 413.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4813, allocations: 1.248 MB / 415.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4823, allocations: 0.6296 MB / 415.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.4824, allocations: 8.562 kB / 415.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4824, allocations: 35.12 kB / 415.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.837e-06/0.4825, allocations: 0 / 415.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004227/0.4867, allocations: 2.447 MB / 418.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4868, allocations: 55.97 kB / 418.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/0.4878, allocations: 0.7971 MB / 419.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.4878, allocations: 37.7 kB / 419.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/0.4884, allocations: 0.9137 MB / 420.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.4886, allocations: 228.7 kB / 420.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.4888, allocations: 146.6 kB / 420.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.489, allocations: 390.8 kB / 420.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.4895, allocations: 369.8 kB / 421.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/0.4903, allocations: 0.5828 MB / 421.8 MB, free: 208 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.4916, allocations: 0.9894 MB / 422.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4916, allocations: 4.938 kB / 422.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001795/0.4935, allocations: 1.151 MB / 423.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4935, allocations: 11.94 kB / 423.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.4935, allocations: 8 kB / 423.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.4938, allocations: 108.8 kB / 424 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.4945, allocations: 171.7 kB / 424.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.4968, allocations: 2.325 MB / 426.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.4973, allocations: 43.88 kB / 426.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.4974, allocations: 32 kB / 426.6 MB, free: 11.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001071/0.4985, allocations: 0.6457 MB / 427.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.4986, allocations: 86.98 kB / 427.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.4988, allocations: 99.62 kB / 427.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.4989, allocations: 12 kB / 427.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4989, allocations: 0 / 427.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4989, allocations: 3.984 kB / 427.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.5029, allocations: 2.666 MB / 430.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.503, allocations: 0 / 430.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.5034, allocations: 111.8 kB / 430.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.5036, allocations: 100.7 kB / 430.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.5037, allocations: 20.06 kB / 430.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.5059, allocations: 2.28 MB / 432.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5059, allocations: 0 / 432.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.5081, allocations: 1.412 MB / 434 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5085, allocations: 220.1 kB / 434.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.284e-05/0.5086, allocations: 16 kB / 434.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.509, allocations: 47.95 kB / 434.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.5091, allocations: 52.48 kB / 434.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.5092, allocations: 16 kB / 434.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007202/0.5099, allocations: 0.5575 MB / 434.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5099, allocations: 0 / 434.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001182/0.5111, allocations: 308 kB / 435.2 MB, free: 2.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.5114, allocations: 135.1 kB / 435.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.5131, allocations: 1.018 MB / 436.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5131, allocations: 0 / 436.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.514, allocations: 0.5539 MB / 437 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5151, allocations: 226.1 kB / 437.2 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.5204, allocations: 3.202 MB / 440.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.5219, allocations: 1.72 MB / 442.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.5225, allocations: 203.1 kB / 442.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.5226, allocations: 55.44 kB / 442.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5227, allocations: 0 / 442.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0249/0.5476, allocations: 12.46 MB / 454.8 MB, free: 14.51 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches