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.001145/0.001144, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001356/0.001356, allocations: 192 kB / 18.62 MB, free: 4.41 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.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009899/0.00099, allocations: 47.28 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09459, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007089/0.1017, allocations: 6 MB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1048, allocations: 1.639 MB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.1054, allocations: 47.81 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.106, allocations: 301.5 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1072, allocations: 369.5 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.1078, allocations: 351.6 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.1099, allocations: 2.013 MB / 362.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002684/0.1126, allocations: 2.735 MB / 364.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1137, allocations: 1.048 MB / 366 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.115, allocations: 1.199 MB / 367.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.1153, allocations: 308 kB / 367.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.116, allocations: 479.6 kB / 367.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.1166, allocations: 0.7364 MB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.1177, allocations: 1.264 MB / 369.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1599/0.2776, allocations: 3.789 MB / 373.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.2776, allocations: 0 / 373.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2777, allocations: 1.25 kB / 373.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001662/0.2778, allocations: 0.7031 kB / 373.7 MB, free: 16.87 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.006923/0.2848, allocations: 2.468 MB / 376.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.2848, allocations: 13.48 kB / 376.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.2855, allocations: 241.2 kB / 376.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.2879, allocations: 1.301 MB / 377.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.288, allocations: 169 kB / 377.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.2883, allocations: 225.6 kB / 378.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005329/0.2937, allocations: 2.542 MB / 380.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.2937, allocations: 0 / 380.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.294, allocations: 91.12 kB / 380.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.659e-05/0.2941, allocations: 58.23 kB / 380.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.2976, allocations: 2.143 MB / 383 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.3079, allocations: 7.481 MB / 390.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/0.3088, allocations: 1.253 MB / 391.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008088/0.3097, allocations: 0.6273 MB / 392.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.3097, allocations: 9.266 kB / 392.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3097, allocations: 45.38 kB / 392.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.594e-06/0.3097, allocations: 0 / 392.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003516/0.3133, allocations: 2.429 MB / 394.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.3133, allocations: 57.34 kB / 394.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.3142, allocations: 0.7947 MB / 395.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3142, allocations: 36.45 kB / 395.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.3145, allocations: 0.9157 MB / 396.6 MB, free: 5.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3147, allocations: 222.5 kB / 396.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.3148, allocations: 152.8 kB / 397 MB, free: 4.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.3149, allocations: 397.5 kB / 397.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.3154, allocations: 363.7 kB / 397.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.3159, allocations: 0.575 MB / 398.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/0.3168, allocations: 0.9892 MB / 399.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3168, allocations: 0 / 399.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001406/0.3182, allocations: 1.14 MB / 400.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3183, allocations: 10.44 kB / 400.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3183, allocations: 22.02 kB / 400.4 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.3185, allocations: 107.5 kB / 400.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.3191, allocations: 172.5 kB / 400.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.3207, allocations: 2.323 MB / 403 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.3212, allocations: 46.66 kB / 403.1 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.3212, allocations: 31.98 kB / 403.1 MB, free: 72 kB / 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.000935/0.3222, allocations: 0.654 MB / 403.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.3223, allocations: 85.59 kB / 403.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3225, allocations: 103.5 kB / 404 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.3225, allocations: 8.656 kB / 404 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3225, allocations: 0 / 404 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3225, allocations: 7.984 kB / 404 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.3265, allocations: 2.652 MB / 406.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3266, allocations: 3.984 kB / 406.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.327, allocations: 107.8 kB / 406.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.3272, allocations: 105.1 kB / 406.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.3273, allocations: 15.98 kB / 406.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.3292, allocations: 2.265 MB / 409.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3292, allocations: 3.938 kB / 409.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3311, allocations: 1.414 MB / 410.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.3315, allocations: 224 kB / 410.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.3316, allocations: 22.61 kB / 410.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.332, allocations: 39.95 kB / 410.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3321, allocations: 52.44 kB / 410.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3322, allocations: 16 kB / 410.9 MB, free: 8.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006338/0.3328, allocations: 0.5603 MB / 411.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3328, allocations: 0 / 411.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001016/0.3339, allocations: 304 kB / 411.7 MB, free: 7.254 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.0002311/0.3341, allocations: 139.4 kB / 411.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3356, allocations: 1.002 MB / 412.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3356, allocations: 0 / 412.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007717/0.3364, allocations: 0.558 MB / 413.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.3374, allocations: 223.8 kB / 413.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.3423, allocations: 3.206 MB / 416.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.3437, allocations: 1.723 MB / 418.6 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005669/0.3442, allocations: 203.1 kB / 418.8 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3444, allocations: 55.44 kB / 418.8 MB, free: 104 kB / 318.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3444, allocations: 0 / 418.8 MB, free: 104 kB / 318.1 MB Notification: Performance of Templates: time 0.02077/0.3652, allocations: 12.23 MB / 431.1 MB, free: 4.062 MB / 334.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 -s gbode -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