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.001278/0.001277, allocations: 114.8 kB / 16.63 MB, free: 6.812 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.001212/0.001212, allocations: 190 kB / 17.55 MB, free: 5.934 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.311/1.311, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009558/0.0009559, allocations: 44.52 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09366, allocations: 49.45 MB / 349.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00692/0.1006, allocations: 5.976 MB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.1038, allocations: 1.588 MB / 357.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006119/0.1044, allocations: 47.81 kB / 357.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.1051, allocations: 246.4 kB / 357.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.1063, allocations: 314.2 kB / 357.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.1069, allocations: 311.7 kB / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1087, allocations: 1.997 MB / 360 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.1116, allocations: 2.739 MB / 362.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1127, allocations: 1.044 MB / 363.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.114, allocations: 1.214 MB / 365 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.1144, allocations: 312 kB / 365.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.1151, allocations: 483.6 kB / 365.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.1157, allocations: 0.7286 MB / 366.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.1168, allocations: 1.272 MB / 367.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1594/0.2762, allocations: 3.746 MB / 371.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.2763, allocations: 0 / 371.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2763, allocations: 0 / 371.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001368/0.2764, allocations: 4.688 kB / 371.6 MB, free: 16.14 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.004465/0.2809, allocations: 2.463 MB / 374 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2809, allocations: 13.53 kB / 374 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006088/0.2816, allocations: 241.1 kB / 374.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.2833, allocations: 1.256 MB / 375.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.2834, allocations: 172.1 kB / 375.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.2838, allocations: 226.5 kB / 375.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/0.2881, allocations: 2.541 MB / 378.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.2882, allocations: 0 / 378.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.2884, allocations: 95.08 kB / 378.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/0.2885, allocations: 56.14 kB / 378.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.2917, allocations: 2.141 MB / 380.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.3018, allocations: 7.585 MB / 388.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3029, allocations: 1.268 MB / 389.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/0.3038, allocations: 0.6172 MB / 390.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.3039, allocations: 9.312 kB / 390.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3039, allocations: 41.84 kB / 390.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.404e-06/0.3039, allocations: 0 / 390.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003572/0.3075, allocations: 2.424 MB / 392.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.3075, allocations: 62.12 kB / 392.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.3084, allocations: 0.7948 MB / 393.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.3084, allocations: 42.75 kB / 393.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.3088, allocations: 0.9153 MB / 394.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3089, allocations: 223.4 kB / 394.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3091, allocations: 152.2 kB / 394.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.3092, allocations: 387 kB / 395.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.3097, allocations: 365.5 kB / 395.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.3103, allocations: 0.5817 MB / 396.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.3112, allocations: 0.9807 MB / 397.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3112, allocations: 3.688 kB / 397.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00144/0.3127, allocations: 1.145 MB / 398.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3127, allocations: 7.812 kB / 398.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3127, allocations: 12.95 kB / 398.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.313, allocations: 120.2 kB / 398.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.3136, allocations: 178.3 kB / 398.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3152, allocations: 2.319 MB / 400.9 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.3157, allocations: 41.62 kB / 401 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.3157, allocations: 34.44 kB / 401 MB, free: 340 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.0008027/0.3166, allocations: 0.6448 MB / 401.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.3167, allocations: 82.97 kB / 401.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.3169, allocations: 105.6 kB / 401.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.3169, allocations: 8 kB / 401.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.317, allocations: 6.625 kB / 401.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.317, allocations: 7.969 kB / 401.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.321, allocations: 2.659 MB / 404.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.321, allocations: 0 / 404.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.3215, allocations: 113.3 kB / 404.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.3217, allocations: 99.41 kB / 404.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.3218, allocations: 19.42 kB / 404.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.3237, allocations: 2.267 MB / 407 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3237, allocations: 3.938 kB / 407 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.3257, allocations: 1.412 MB / 408.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.326, allocations: 228 kB / 408.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3261, allocations: 12 kB / 408.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.3265, allocations: 46.31 kB / 408.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3267, allocations: 59.94 kB / 408.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.3267, allocations: 16 kB / 408.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006701/0.3274, allocations: 0.5536 MB / 409.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3274, allocations: 4 kB / 409.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3285, allocations: 296 kB / 409.6 MB, free: 7.508 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.0002421/0.3287, allocations: 151 kB / 409.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.3307, allocations: 1.13 MB / 410.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3307, allocations: 0 / 410.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008828/0.3316, allocations: 0.5555 MB / 411.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3327, allocations: 231 kB / 411.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.3381, allocations: 4.143 MB / 415.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.3394, allocations: 1.718 MB / 417.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005798/0.34, allocations: 203.1 kB / 417.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3402, allocations: 63.42 kB / 417.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3402, allocations: 2.625 kB / 417.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Templates: time 0.02052/0.3607, allocations: 12.13 MB / 430 MB, free: 3.32 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 -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/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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches