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.001405/0.001405, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001264/0.001265, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.861/1.861, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001098/0.001098, allocations: 47.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1126, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.2717/0.3843, allocations: 5.959 MB / 381.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.388, allocations: 1.683 MB / 382.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.3886, allocations: 43.69 kB / 382.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.3893, allocations: 304.2 kB / 383.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.3905, allocations: 369.1 kB / 383.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.3912, allocations: 352.7 kB / 383.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.3936, allocations: 2.016 MB / 385.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.3968, allocations: 2.699 MB / 388.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.3986, allocations: 1.034 MB / 389.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.4004, allocations: 1.203 MB / 390.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.4009, allocations: 309.2 kB / 391.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009749/0.4018, allocations: 480.9 kB / 391.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007605/0.4026, allocations: 0.7268 MB / 392.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.4041, allocations: 1.266 MB / 393.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.4092, allocations: 3.795 MB / 397.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4092, allocations: 5.969 kB / 397.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4092, allocations: 0 / 397.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.4094, allocations: 1.406 kB / 397.3 MB, free: 3.227 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.005684/0.4151, allocations: 2.515 MB / 399.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4151, allocations: 13.2 kB / 399.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.4158, allocations: 254 kB / 400.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.4177, allocations: 1.183 MB / 401.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4178, allocations: 168.3 kB / 401.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.4182, allocations: 221 kB / 401.7 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/0.4232, allocations: 2.544 MB / 404.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.4233, allocations: 0 / 404.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.4235, allocations: 89.97 kB / 404.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.4236, allocations: 60.19 kB / 404.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.4278, allocations: 2.137 MB / 406.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.4402, allocations: 7.507 MB / 414 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.4416, allocations: 1.248 MB / 415.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.4428, allocations: 0.6346 MB / 415.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.4428, allocations: 4.562 kB / 415.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.443, allocations: 51.06 kB / 416 MB, free: 6.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 4.167e-06/0.443, allocations: 0 / 416 MB, free: 6.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005284/0.4483, allocations: 2.458 MB / 418.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4483, allocations: 59.97 kB / 418.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.4495, allocations: 0.7933 MB / 419.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.4496, allocations: 45.69 kB / 419.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/0.4503, allocations: 0.9402 MB / 420.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.4505, allocations: 234 kB / 420.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.4507, allocations: 142.6 kB / 420.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.4509, allocations: 390.8 kB / 421 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.4516, allocations: 373.7 kB / 421.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.4524, allocations: 0.5789 MB / 421.9 MB, free: 0 / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.4538, allocations: 0.9933 MB / 422.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.4539, allocations: 3.938 kB / 422.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00232/0.4562, allocations: 1.155 MB / 424.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.4563, allocations: 15.92 kB / 424.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.4563, allocations: 8 kB / 424.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.4567, allocations: 112.8 kB / 424.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.4576, allocations: 171.8 kB / 424.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.4602, allocations: 2.333 MB / 426.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.4607, allocations: 39.97 kB / 426.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.4608, allocations: 36 kB / 426.8 MB, free: 10.89 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.001514/0.4623, allocations: 0.6497 MB / 427.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.4626, allocations: 91.38 kB / 427.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.4628, allocations: 95.56 kB / 427.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.4628, allocations: 11.98 kB / 427.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.4629, allocations: 0 / 427.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4629, allocations: 4 kB / 427.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005487/0.4684, allocations: 2.659 MB / 430.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4684, allocations: 4 kB / 430.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.4689, allocations: 111.8 kB / 430.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.4691, allocations: 105.1 kB / 430.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.4692, allocations: 15.98 kB / 430.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.4716, allocations: 2.267 MB / 432.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4716, allocations: 4.031 kB / 432.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.4739, allocations: 1.428 MB / 434.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.4744, allocations: 228.5 kB / 434.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.4746, allocations: 12 kB / 434.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.4751, allocations: 47.89 kB / 434.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4752, allocations: 44.5 kB / 434.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.4753, allocations: 23.98 kB / 434.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008348/0.4761, allocations: 0.5576 MB / 435.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4761, allocations: 3.938 kB / 435.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001424/0.4776, allocations: 296 kB / 435.4 MB, free: 1.961 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.0003373/0.4779, allocations: 135 kB / 435.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.4798, allocations: 1.011 MB / 436.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4798, allocations: 0 / 436.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4808, allocations: 0.5722 MB / 437.2 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4821, allocations: 219.6 kB / 437.4 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.4889, allocations: 3.253 MB / 440.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.4908, allocations: 1.721 MB / 442.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000604/0.4914, allocations: 203.1 kB / 442.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.4916, allocations: 63.42 kB / 442.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4916, allocations: 0 / 442.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Templates: time 0.02815/0.5198, allocations: 12.46 MB / 455.1 MB, free: 14.2 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