Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 68.33 kB / 306.3 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09824, allocations: 50.53 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008584/0.1069, allocations: 6 MB / 362.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.1103, allocations: 1.663 MB / 364.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.111, allocations: 47.81 kB / 364.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.1116, allocations: 242.3 kB / 364.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009266/0.1126, allocations: 322.2 kB / 365 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.1131, allocations: 311.7 kB / 365.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.115, allocations: 2.126 MB / 367.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.1175, allocations: 2.275 MB / 369.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1186, allocations: 0.9031 MB / 370.7 MB, free: 292 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1562/0.2748, allocations: 1.154 MB / 371.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.2753, allocations: 207.7 kB / 372 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.2762, allocations: 353.9 kB / 372.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005701/0.2768, allocations: 0.6239 MB / 373 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.2779, allocations: 1.151 MB / 374.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.2815, allocations: 3.683 MB / 377.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2815, allocations: 0 / 377.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2815, allocations: 1.156 kB / 377.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.833e-05/0.2816, allocations: 0 / 377.8 MB, free: 10.69 MB / 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.005146/0.2868, allocations: 2.48 MB / 380.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2868, allocations: 11.03 kB / 380.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/0.2877, allocations: 264.4 kB / 380.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.2895, allocations: 1.287 MB / 381.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2896, allocations: 166.4 kB / 382 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.2899, allocations: 220.2 kB / 382.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.2941, allocations: 2.545 MB / 384.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.2941, allocations: 0 / 384.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.2943, allocations: 90.22 kB / 384.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.2944, allocations: 60.97 kB / 384.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.2977, allocations: 2.142 MB / 387.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.309, allocations: 7.593 MB / 394.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.3101, allocations: 1.26 MB / 395.9 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.3111, allocations: 0.6158 MB / 396.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.3111, allocations: 8 kB / 396.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3112, allocations: 46.56 kB / 396.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.825e-06/0.3112, allocations: 6.531 kB / 396.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004185/0.3154, allocations: 2.425 MB / 399 MB, free: 14.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.3154, allocations: 58.03 kB / 399.1 MB, free: 14.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.3164, allocations: 0.8016 MB / 399.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.3165, allocations: 41.25 kB / 399.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/0.3171, allocations: 0.9174 MB / 400.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3172, allocations: 224.6 kB / 401.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.3175, allocations: 144.6 kB / 401.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3177, allocations: 397 kB / 401.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.3182, allocations: 364.2 kB / 401.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.3189, allocations: 0.5737 MB / 402.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3202, allocations: 0.9886 MB / 403.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3202, allocations: 7.344 kB / 403.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001848/0.3221, allocations: 1.151 MB / 404.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3221, allocations: 8.594 kB / 404.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3221, allocations: 7.938 kB / 404.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.3224, allocations: 112.8 kB / 404.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.3231, allocations: 171.4 kB / 405 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.3253, allocations: 2.142 MB / 407.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.3259, allocations: 39.97 kB / 407.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.3259, allocations: 32 kB / 407.2 MB, free: 7.586 MB / 318.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.001098/0.327, allocations: 0.6585 MB / 407.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.3272, allocations: 79.06 kB / 407.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.3274, allocations: 103.7 kB / 408 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.3274, allocations: 8 kB / 408 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3275, allocations: 3.938 kB / 408 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3275, allocations: 3.984 kB / 408 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/0.3317, allocations: 2.663 MB / 410.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3317, allocations: 4 kB / 410.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.3322, allocations: 109.5 kB / 410.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.3324, allocations: 111.2 kB / 410.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.3325, allocations: 15.98 kB / 410.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.3346, allocations: 2.055 MB / 413 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3346, allocations: 10.66 kB / 413 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.3369, allocations: 1.421 MB / 414.4 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.3374, allocations: 224.1 kB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3375, allocations: 16 kB / 414.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.3379, allocations: 41.75 kB / 414.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.338, allocations: 47.31 kB / 414.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.3381, allocations: 23.98 kB / 414.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.3388, allocations: 0.5615 MB / 415.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3388, allocations: 0 / 415.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001163/0.34, allocations: 303.9 kB / 415.6 MB, free: 14.94 MB / 334.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.0002498/0.3403, allocations: 138.6 kB / 415.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3419, allocations: 1.003 MB / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3419, allocations: 0 / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.3428, allocations: 0.5589 MB / 417.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3439, allocations: 206 kB / 417.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.3496, allocations: 4.146 MB / 421.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.3509, allocations: 1.725 MB / 423.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006106/0.3515, allocations: 207.1 kB / 423.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3517, allocations: 55.44 kB / 423.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3517, allocations: 0 / 423.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Templates: time 0.02324/0.375, allocations: 11.69 MB / 435.3 MB, free: 11.33 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches