Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000771/0.0007711, allocations: 88.8 kB / 17.31 MB, free: 5.938 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.0008333/0.0008333, allocations: 178.9 kB / 18.22 MB, free: 5.391 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.146/1.146, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002094/0.0002094, allocations: 11.94 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07172/0.07194, allocations: 50.41 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005112/0.07707, allocations: 5.488 MB / 358 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.07962, allocations: 1.585 MB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.0802, allocations: 43.81 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.08067, allocations: 246.3 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009274/0.08161, allocations: 326.2 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.08219, allocations: 311.6 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.08403, allocations: 2.114 MB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.08628, allocations: 2.256 MB / 364.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.08704, allocations: 0.7196 MB / 365.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.0881, allocations: 0.9097 MB / 366.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.08831, allocations: 124 kB / 366.6 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.08881, allocations: 295.6 kB / 366.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.08922, allocations: 0.4982 MB / 367.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008873/0.09012, allocations: 1.016 MB / 368.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.09223, allocations: 3.066 MB / 371.5 MB, free: 352 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.09224, allocations: 0 / 371.5 MB, free: 352 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09225, allocations: 4 kB / 371.5 MB, free: 348 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.289e-05/0.09233, allocations: 0 / 371.5 MB, free: 348 kB / 302.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.131/0.2233, allocations: 2.068 MB / 373.5 MB, free: 23.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2234, allocations: 13.66 kB / 373.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.2242, allocations: 237.5 kB / 373.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.2262, allocations: 1.269 MB / 375.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2264, allocations: 166.6 kB / 375.2 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/0.2268, allocations: 219 kB / 375.4 MB, free: 22.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/0.2309, allocations: 2.545 MB / 378 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.2309, allocations: 0 / 378 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.2311, allocations: 98.19 kB / 378.1 MB, free: 21.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.2311, allocations: 56.58 kB / 378.1 MB, free: 21.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.2344, allocations: 2.155 MB / 380.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009263/0.2436, allocations: 7.649 MB / 387.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.2445, allocations: 1.262 MB / 389.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008395/0.2454, allocations: 0.6221 MB / 389.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.2454, allocations: 12.08 kB / 389.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.2455, allocations: 41.44 kB / 389.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 1.924e-06/0.2455, allocations: 1.469 kB / 389.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003013/0.2485, allocations: 2.451 MB / 392.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.2485, allocations: 66.72 kB / 392.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.2493, allocations: 0.7943 MB / 393.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.2493, allocations: 37.05 kB / 393.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.2497, allocations: 0.9229 MB / 394.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.2498, allocations: 224.8 kB / 394.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.2499, allocations: 68.73 kB / 394.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.25, allocations: 393.1 kB / 394.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.2504, allocations: 373.9 kB / 395.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.251, allocations: 0.5806 MB / 395.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/0.2519, allocations: 0.9999 MB / 396.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2519, allocations: 5.375 kB / 396.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001317/0.2532, allocations: 1.158 MB / 397.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2533, allocations: 8 kB / 397.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2533, allocations: 4 kB / 397.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.2535, allocations: 112.9 kB / 398 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.254, allocations: 179.6 kB / 398.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2554, allocations: 2.125 MB / 400.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.2558, allocations: 43.97 kB / 400.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.2559, allocations: 40.12 kB / 400.4 MB, free: 6.543 MB / 302.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.0006027/0.2565, allocations: 0.651 MB / 401.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2566, allocations: 82.98 kB / 401.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.2568, allocations: 99.56 kB / 401.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.2568, allocations: 8 kB / 401.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2568, allocations: 0 / 401.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2568, allocations: 3.984 kB / 401.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.2597, allocations: 2.686 MB / 403.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2597, allocations: 4 kB / 404 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.2601, allocations: 115.8 kB / 404.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.2603, allocations: 96.88 kB / 404.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.2604, allocations: 23.98 kB / 404.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2616, allocations: 2.065 MB / 406.2 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2616, allocations: 12.05 kB / 406.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2633, allocations: 1.427 MB / 407.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.2636, allocations: 231.9 kB / 407.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.2637, allocations: 12.7 kB / 407.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.264, allocations: 52.02 kB / 408 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2642, allocations: 48.42 kB / 408 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.2642, allocations: 21.64 kB / 408 MB, free: 14.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005813/0.2648, allocations: 0.5536 MB / 408.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2648, allocations: 0 / 408.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008378/0.2656, allocations: 307.9 kB / 408.9 MB, free: 13.8 MB / 318.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.0002102/0.2659, allocations: 140.5 kB / 409 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.2673, allocations: 1.012 MB / 410 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2673, allocations: 1.688 kB / 410 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.268, allocations: 0.5682 MB / 410.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2692, allocations: 206 kB / 410.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.274, allocations: 4.187 MB / 415 MB, free: 7.613 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.2752, allocations: 1.692 MB / 416.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.2753, allocations: 67.44 kB / 416.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2754, allocations: 0 / 416.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of Templates: time 0.02871/0.3041, allocations: 28.18 MB / 444.9 MB, free: 9.691 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches