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.0007866/0.0007866, allocations: 93.84 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000962/0.000962, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002315, allocations: 4 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09006, allocations: 51.51 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005265/0.09537, allocations: 5.199 MB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.09781, allocations: 1.589 MB / 365.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.09824, allocations: 43.81 kB / 365.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.09864, allocations: 226.3 kB / 365.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008233/0.09947, allocations: 302.3 kB / 366 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.09998, allocations: 223.7 kB / 366.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.1019, allocations: 1.985 MB / 368.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.104, allocations: 1.891 MB / 370.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.1048, allocations: 0.7121 MB / 370.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009948/0.1058, allocations: 0.8673 MB / 371.6 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.106, allocations: 120 kB / 371.8 MB, free: 460 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.1065, allocations: 231.8 kB / 372 MB, free: 228 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1588/0.2653, allocations: 0.4902 MB / 372.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009246/0.2663, allocations: 436.5 kB / 372.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.2715, allocations: 3.044 MB / 375.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2715, allocations: 1.125 kB / 375.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2715, allocations: 0 / 375.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.2716, allocations: 2.625 kB / 375.9 MB, free: 10.96 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.006674/0.2783, allocations: 2.116 MB / 378.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2784, allocations: 8.25 kB / 378.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.28, allocations: 278 kB / 378.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.2834, allocations: 1.253 MB / 379.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.2836, allocations: 167.9 kB / 379.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006053/0.2842, allocations: 221.8 kB / 380 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007436/0.2916, allocations: 2.534 MB / 382.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.2917, allocations: 0 / 382.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/0.2921, allocations: 94.39 kB / 382.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.2922, allocations: 56.19 kB / 382.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006235/0.2984, allocations: 2.137 MB / 384.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.3162, allocations: 7.647 MB / 392.4 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.318, allocations: 1.255 MB / 393.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.3195, allocations: 0.6199 MB / 394.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.3196, allocations: 8.375 kB / 394.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3196, allocations: 40.69 kB / 394.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.398e-06/0.3197, allocations: 0 / 394.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.006013/0.3257, allocations: 2.454 MB / 396.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.3257, allocations: 59.47 kB / 396.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.3272, allocations: 0.8028 MB / 397.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.3273, allocations: 33.7 kB / 397.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.328, allocations: 0.9226 MB / 398.6 MB, free: 260 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.3282, allocations: 226.8 kB / 398.9 MB, free: 64 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3282, allocations: 21.19 kB / 398.9 MB, free: 48 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.3285, allocations: 388.6 kB / 399.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/0.3293, allocations: 368.3 kB / 399.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3304, allocations: 0.5862 MB / 400.2 MB, free: 15.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.3314, allocations: 464.9 kB / 400.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3314, allocations: 4 kB / 400.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002787/0.3342, allocations: 1.156 MB / 401.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3342, allocations: 7.156 kB / 401.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.3343, allocations: 7.188 kB / 401.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/0.3347, allocations: 118.1 kB / 401.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.3355, allocations: 173.6 kB / 402.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.3387, allocations: 2.126 MB / 404.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.3396, allocations: 48.48 kB / 404.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3397, allocations: 39.02 kB / 404.3 MB, free: 12.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001917/0.3417, allocations: 0.6457 MB / 405 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.3419, allocations: 83.12 kB / 405.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.3423, allocations: 102.5 kB / 405.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/0.3423, allocations: 11.98 kB / 405.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.3424, allocations: 4 kB / 405.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3424, allocations: 0 / 405.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.3494, allocations: 2.678 MB / 407.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3494, allocations: 4.156 kB / 407.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.3501, allocations: 109.6 kB / 408 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/0.3505, allocations: 100.8 kB / 408.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.3506, allocations: 13.09 kB / 408.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.3535, allocations: 2.079 MB / 410.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.3535, allocations: 6.844 kB / 410.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.3568, allocations: 1.431 MB / 411.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.3574, allocations: 216.1 kB / 411.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3576, allocations: 15.98 kB / 411.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.3583, allocations: 47.92 kB / 411.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.3585, allocations: 51.36 kB / 411.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.3586, allocations: 28.06 kB / 411.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001266/0.3599, allocations: 0.5575 MB / 412.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3599, allocations: 0 / 412.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002016/0.3619, allocations: 301.6 kB / 412.8 MB, free: 3.637 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003487/0.3623, allocations: 127.6 kB / 412.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.3649, allocations: 1.014 MB / 413.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3649, allocations: 0 / 413.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.3663, allocations: 0.5612 MB / 414.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.3682, allocations: 219.6 kB / 414.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.3772, allocations: 3.996 MB / 418.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.3795, allocations: 1.729 MB / 420.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.3806, allocations: 203.1 kB / 420.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.381, allocations: 63.42 kB / 420.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.381, allocations: 0 / 420.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Templates: time 0.02441/0.4054, allocations: 11.27 MB / 432 MB, free: 0.5625 MB / 334.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