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.001315/0.001315, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.5 kB / 306.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09632, allocations: 50.53 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008209/0.1046, allocations: 6 MB / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.1079, allocations: 1.643 MB / 364.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.109, allocations: 47.81 kB / 364.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.1099, allocations: 246.3 kB / 364.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1112, allocations: 314.2 kB / 365.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.1119, allocations: 311.7 kB / 365.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.1137, allocations: 2.005 MB / 367.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.1165, allocations: 2.739 MB / 370.3 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2079/0.3243, allocations: 1.039 MB / 371.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.3261, allocations: 1.223 MB / 372.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004421/0.3266, allocations: 308.9 kB / 372.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007563/0.3273, allocations: 457.9 kB / 373.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005843/0.3279, allocations: 0.7266 MB / 374 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3291, allocations: 1.268 MB / 375.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.3329, allocations: 3.754 MB / 379 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3329, allocations: 0 / 379 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3329, allocations: 1.344 kB / 379 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-05/0.333, allocations: 0 / 379 MB, free: 10.2 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.00473/0.3377, allocations: 2.485 MB / 381.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3378, allocations: 7.656 kB / 381.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.3386, allocations: 266 kB / 381.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.3404, allocations: 1.279 MB / 383 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3405, allocations: 167.2 kB / 383.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.3408, allocations: 220.8 kB / 383.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/0.345, allocations: 2.544 MB / 386 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.3451, allocations: 1.312 kB / 386 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.3453, allocations: 90.34 kB / 386.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/0.3454, allocations: 56.7 kB / 386.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.3487, allocations: 2.145 MB / 388.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.3588, allocations: 7.595 MB / 395.9 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3599, allocations: 1.262 MB / 397.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009458/0.3608, allocations: 0.62 MB / 397.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.3609, allocations: 7.594 kB / 397.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3609, allocations: 42.28 kB / 397.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.775e-06/0.3609, allocations: 0 / 397.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.003851/0.3648, allocations: 2.419 MB / 400.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3648, allocations: 60.25 kB / 400.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/0.3658, allocations: 0.8064 MB / 401.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.3659, allocations: 40.52 kB / 401.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.3664, allocations: 0.9139 MB / 402 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3666, allocations: 227.8 kB / 402.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.3668, allocations: 144.9 kB / 402.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.367, allocations: 396 kB / 402.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.3675, allocations: 363.9 kB / 403.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.3682, allocations: 0.5795 MB / 403.7 MB, free: 10.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.3695, allocations: 0.9857 MB / 404.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3695, allocations: 4 kB / 404.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001826/0.3714, allocations: 1.151 MB / 405.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3714, allocations: 11.94 kB / 405.9 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3714, allocations: 11.94 kB / 405.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.3717, allocations: 114.5 kB / 406 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.3724, allocations: 168.6 kB / 406.1 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.3751, allocations: 2.337 MB / 408.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3757, allocations: 40.03 kB / 408.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/0.3758, allocations: 39.98 kB / 408.6 MB, free: 6.004 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.00137/0.3771, allocations: 0.6481 MB / 409.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.3774, allocations: 82.97 kB / 409.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.3776, allocations: 103.6 kB / 409.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.3776, allocations: 15.83 kB / 409.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.3776, allocations: 0 / 409.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3777, allocations: 7.984 kB / 409.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.382, allocations: 2.651 MB / 412.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.382, allocations: 4 kB / 412.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.3825, allocations: 111.6 kB / 412.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.3827, allocations: 100.7 kB / 412.3 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.3828, allocations: 16 kB / 412.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.3849, allocations: 2.265 MB / 414.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3849, allocations: 7.969 kB / 414.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.3869, allocations: 1.41 MB / 416 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.3873, allocations: 228 kB / 416.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/0.3874, allocations: 18.25 kB / 416.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.3878, allocations: 44.02 kB / 416.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.388, allocations: 48.44 kB / 416.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.388, allocations: 31.05 kB / 416.3 MB, free: 14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007798/0.3888, allocations: 0.5615 MB / 416.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.3888, allocations: 0 / 416.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001304/0.3901, allocations: 298 kB / 417.2 MB, free: 13.16 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.0002929/0.3904, allocations: 139.7 kB / 417.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.3924, allocations: 1.133 MB / 418.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3924, allocations: 0 / 418.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.3933, allocations: 0.5553 MB / 419 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3944, allocations: 220.9 kB / 419.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.4001, allocations: 4.157 MB / 423.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.4015, allocations: 1.724 MB / 425.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005827/0.4021, allocations: 211.1 kB / 425.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4023, allocations: 59.42 kB / 425.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4023, allocations: 0 / 425.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Templates: time 0.03124/0.4335, allocations: 12.1 MB / 437.5 MB, free: 8.992 MB / 350.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