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.001179/0.001179, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.0012/0.0012, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.378/1.378, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.33 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.09073, allocations: 49.44 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007308/0.09808, allocations: 6.004 MB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.1015, allocations: 1.635 MB / 358.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1026, allocations: 51.81 kB / 358.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009976/0.1036, allocations: 305.4 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1053, allocations: 361.5 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.1062, allocations: 359.5 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1082, allocations: 1.997 MB / 361.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.1111, allocations: 2.739 MB / 364.1 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1123, allocations: 1.036 MB / 365.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.1138, allocations: 1.199 MB / 366.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003885/0.1143, allocations: 308 kB / 366.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007632/0.115, allocations: 475.6 kB / 367.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.1156, allocations: 0.7364 MB / 367.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.1169, allocations: 1.264 MB / 369.1 MB, free: 1.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1568/0.2738, allocations: 3.751 MB / 372.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2738, allocations: 0 / 372.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2738, allocations: 1.438 kB / 372.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.2739, allocations: 0 / 372.9 MB, free: 16.31 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.005619/0.2796, allocations: 2.466 MB / 375.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2796, allocations: 12.73 kB / 375.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.2803, allocations: 245 kB / 375.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.2824, allocations: 1.253 MB / 376.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.2825, allocations: 167.7 kB / 377 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.2829, allocations: 223.2 kB / 377.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.2876, allocations: 2.545 MB / 379.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.2877, allocations: 2.812 kB / 379.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.2879, allocations: 90.47 kB / 379.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/0.288, allocations: 60.03 kB / 379.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.2918, allocations: 2.139 MB / 382.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.3029, allocations: 7.599 MB / 389.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3039, allocations: 1.266 MB / 391 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000952/0.3049, allocations: 0.6163 MB / 391.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.3049, allocations: 10.12 kB / 391.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.305, allocations: 44.48 kB / 391.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.036e-06/0.305, allocations: 2.188 kB / 391.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004109/0.3091, allocations: 2.423 MB / 394 MB, free: 6.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3092, allocations: 57.47 kB / 394.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3103, allocations: 0.7987 MB / 394.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.3103, allocations: 37.42 kB / 394.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.3107, allocations: 0.9103 MB / 395.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3109, allocations: 228.5 kB / 396.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3111, allocations: 151.8 kB / 396.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3112, allocations: 388.3 kB / 396.6 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.3117, allocations: 364.3 kB / 397 MB, free: 4.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.3123, allocations: 0.5819 MB / 397.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3133, allocations: 0.9799 MB / 398.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3133, allocations: 3.906 kB / 398.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001592/0.3149, allocations: 1.152 MB / 399.7 MB, free: 2.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3149, allocations: 6.312 kB / 399.7 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.315, allocations: 11.41 kB / 399.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.3152, allocations: 109.4 kB / 399.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.3159, allocations: 174.2 kB / 400 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.3176, allocations: 2.341 MB / 402.3 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.3182, allocations: 39.17 kB / 402.3 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.3183, allocations: 32 kB / 402.4 MB, free: 40 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.001056/0.3193, allocations: 0.6521 MB / 403 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.3195, allocations: 82.97 kB / 403.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.3197, allocations: 103.5 kB / 403.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.3198, allocations: 16.06 kB / 403.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/0.3198, allocations: 4 kB / 403.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.3198, allocations: 3.984 kB / 403.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/0.3239, allocations: 2.658 MB / 405.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.324, allocations: 0 / 405.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.3244, allocations: 109.2 kB / 406 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.3247, allocations: 96.78 kB / 406.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.3247, allocations: 12 kB / 406.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.3267, allocations: 2.271 MB / 408.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3267, allocations: 3.938 kB / 408.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.3287, allocations: 1.414 MB / 409.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.3291, allocations: 236.1 kB / 410 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.3292, allocations: 12 kB / 410 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.3296, allocations: 39.95 kB / 410.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.3297, allocations: 55.06 kB / 410.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.3298, allocations: 19.98 kB / 410.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006849/0.3305, allocations: 0.5536 MB / 410.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3305, allocations: 4 kB / 410.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00122/0.3317, allocations: 303.5 kB / 411 MB, free: 7.215 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.0002812/0.332, allocations: 140.8 kB / 411.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.3339, allocations: 1.132 MB / 412.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.334, allocations: 5.688 kB / 412.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.3348, allocations: 0.554 MB / 412.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.3359, allocations: 223 kB / 413 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.341, allocations: 3.231 MB / 416.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.3423, allocations: 1.683 MB / 418 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.3426, allocations: 63.42 kB / 418 MB, free: 140 kB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3426, allocations: 4 kB / 418 MB, free: 136 kB / 318.1 MB Notification: Performance of Templates: time 0.03254/0.3751, allocations: 28.44 MB / 446.5 MB, free: 3.754 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