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.001146/0.001146, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 61.38 kB / 306.9 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09599, allocations: 50.53 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00728/0.1033, allocations: 5.997 MB / 363.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.1066, allocations: 1.651 MB / 365.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009716/0.1076, allocations: 47.81 kB / 365.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.1086, allocations: 242.4 kB / 365.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.1101, allocations: 330.2 kB / 365.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000839/0.1109, allocations: 307.7 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.1133, allocations: 2.126 MB / 368.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.1162, allocations: 2.275 MB / 370.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1175, allocations: 0.9032 MB / 371.3 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1602/0.2776, allocations: 1.154 MB / 372.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005948/0.2783, allocations: 208.9 kB / 372.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009312/0.2792, allocations: 358.9 kB / 373 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006096/0.2798, allocations: 0.6238 MB / 373.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.2811, allocations: 1.151 MB / 374.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.2842, allocations: 3.152 MB / 377.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2842, allocations: 0 / 377.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2843, allocations: 0 / 377.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001066/0.2844, allocations: 0 / 377.9 MB, free: 11.54 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.004892/0.2893, allocations: 2.482 MB / 380.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2893, allocations: 9.875 kB / 380.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/0.2902, allocations: 263.2 kB / 380.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.292, allocations: 1.281 MB / 381.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.2922, allocations: 168.3 kB / 382.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.2924, allocations: 227.4 kB / 382.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/0.2967, allocations: 2.541 MB / 384.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.2968, allocations: 1.094 kB / 384.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.2969, allocations: 91.97 kB / 385 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-05/0.297, allocations: 59.44 kB / 385 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.3004, allocations: 2.141 MB / 387.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.3107, allocations: 7.595 MB / 394.8 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009935/0.3117, allocations: 1.26 MB / 396 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009169/0.3127, allocations: 0.6241 MB / 396.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.3127, allocations: 9.188 kB / 396.7 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3128, allocations: 41.09 kB / 396.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.519e-06/0.3128, allocations: 0 / 396.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004028/0.3168, allocations: 2.432 MB / 399.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3168, allocations: 59.41 kB / 399.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.3178, allocations: 0.8056 MB / 400 MB, free: 14.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.3178, allocations: 39.94 kB / 400 MB, free: 14.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.3183, allocations: 0.9183 MB / 400.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.3185, allocations: 229.5 kB / 401.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.3187, allocations: 143.6 kB / 401.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3189, allocations: 388.4 kB / 401.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.3194, allocations: 369.7 kB / 402.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.3201, allocations: 0.576 MB / 402.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3213, allocations: 0.9839 MB / 403.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3213, allocations: 3.75 kB / 403.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001705/0.323, allocations: 1.155 MB / 404.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3231, allocations: 8 kB / 404.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3231, allocations: 19.88 kB / 404.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.3234, allocations: 104.9 kB / 404.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.3241, allocations: 178.4 kB / 405.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.3261, allocations: 2.128 MB / 407.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.3267, allocations: 35.97 kB / 407.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.3267, allocations: 32 kB / 407.3 MB, free: 8.422 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.001085/0.3278, allocations: 0.6561 MB / 407.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.328, allocations: 87.11 kB / 408 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.3282, allocations: 99.69 kB / 408.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.3282, allocations: 8 kB / 408.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.3283, allocations: 3.938 kB / 408.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.3283, allocations: 3.984 kB / 408.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.3324, allocations: 2.67 MB / 410.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.3324, allocations: 4 kB / 410.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.3329, allocations: 99.41 kB / 410.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.3331, allocations: 104.1 kB / 411 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.3332, allocations: 19.98 kB / 411 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.3351, allocations: 2.075 MB / 413.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.3351, allocations: 4.031 kB / 413.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.3372, allocations: 1.417 MB / 414.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.3376, allocations: 220.1 kB / 414.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.3378, allocations: 15.28 kB / 414.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.3382, allocations: 48.02 kB / 414.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3384, allocations: 44.48 kB / 414.8 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.3384, allocations: 20 kB / 414.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008192/0.3393, allocations: 0.5654 MB / 415.4 MB, free: 68 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3393, allocations: 0 / 415.4 MB, free: 68 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001357/0.3406, allocations: 300 kB / 415.7 MB, free: 15.77 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.0003259/0.341, allocations: 138.1 kB / 415.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3426, allocations: 0.9982 MB / 416.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3427, allocations: 4 kB / 416.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.3435, allocations: 0.5557 MB / 417.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3447, allocations: 218.8 kB / 417.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/0.3515, allocations: 4.143 MB / 421.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.3531, allocations: 1.68 MB / 423.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.3535, allocations: 67.42 kB / 423.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3535, allocations: 0 / 423.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of Templates: time 0.0404/0.3939, allocations: 28.53 MB / 452 MB, free: 11.46 MB / 366.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/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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches