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.001582/0.001582, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001829, allocations: 55.84 kB / 307.6 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 50.55 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008164/0.1129, allocations: 6.025 MB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.1166, allocations: 1.674 MB / 365.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.1173, allocations: 55.81 kB / 365.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.118, allocations: 309.4 kB / 366.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.1192, allocations: 365.5 kB / 366.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.1199, allocations: 363.5 kB / 366.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.1222, allocations: 1.997 MB / 368.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.1255, allocations: 2.735 MB / 371.7 MB, free: 464 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1619/0.2874, allocations: 1.039 MB / 372.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.2894, allocations: 1.201 MB / 373.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.2902, allocations: 310.6 kB / 374.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.2912, allocations: 458.7 kB / 374.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006881/0.2919, allocations: 0.7264 MB / 375.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.2933, allocations: 1.264 MB / 376.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.2981, allocations: 3.755 MB / 380.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2981, allocations: 3.438 kB / 380.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2981, allocations: 0.9844 kB / 380.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001134/0.2982, allocations: 0 / 380.4 MB, free: 10.16 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.005293/0.3035, allocations: 2.482 MB / 382.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3036, allocations: 8.25 kB / 382.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.3045, allocations: 266.6 kB / 383.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3063, allocations: 1.281 MB / 384.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3064, allocations: 167.9 kB / 384.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.3067, allocations: 220.5 kB / 384.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.3109, allocations: 2.548 MB / 387.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.311, allocations: 0 / 387.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.3112, allocations: 90.69 kB / 387.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-05/0.3113, allocations: 56.03 kB / 387.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/0.3147, allocations: 2.145 MB / 389.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.3252, allocations: 7.592 MB / 397.3 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.3264, allocations: 1.26 MB / 398.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009667/0.3274, allocations: 0.6207 MB / 399.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.3274, allocations: 8 kB / 399.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3275, allocations: 41.16 kB / 399.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.3275, allocations: 0 / 399.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004281/0.3318, allocations: 2.428 MB / 401.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3318, allocations: 57.69 kB / 401.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3329, allocations: 0.803 MB / 402.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.333, allocations: 41.08 kB / 402.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.3336, allocations: 0.9199 MB / 403.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.3338, allocations: 225.1 kB / 403.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.334, allocations: 141.7 kB / 403.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3342, allocations: 395.3 kB / 404.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/0.3348, allocations: 366.9 kB / 404.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007974/0.3356, allocations: 0.5802 MB / 405.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.3371, allocations: 0.9835 MB / 406.1 MB, free: 9.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3371, allocations: 4 kB / 406.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001997/0.3391, allocations: 1.148 MB / 407.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3392, allocations: 14.47 kB / 407.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3392, allocations: 15.92 kB / 407.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.3395, allocations: 115.5 kB / 407.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.3402, allocations: 170.3 kB / 407.6 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.3428, allocations: 2.336 MB / 409.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.3435, allocations: 32.05 kB / 409.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.3436, allocations: 39.98 kB / 410 MB, free: 5.586 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.001357/0.3449, allocations: 0.6509 MB / 410.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.3452, allocations: 82.97 kB / 410.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3454, allocations: 111.6 kB / 410.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/0.3455, allocations: 8 kB / 410.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.3455, allocations: 0 / 410.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3455, allocations: 3.984 kB / 410.8 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.3506, allocations: 2.661 MB / 413.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3506, allocations: 4.188 kB / 413.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.3511, allocations: 103.5 kB / 413.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.3514, allocations: 108 kB / 413.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.3514, allocations: 16 kB / 413.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.3537, allocations: 2.257 MB / 416 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.3538, allocations: 7.969 kB / 416 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.356, allocations: 1.418 MB / 417.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.3565, allocations: 224 kB / 417.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3566, allocations: 23.59 kB / 417.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.3571, allocations: 44.02 kB / 417.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.3572, allocations: 47.53 kB / 417.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.3573, allocations: 23.98 kB / 417.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008461/0.3581, allocations: 0.5615 MB / 418.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3581, allocations: 0 / 418.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001422/0.3596, allocations: 296 kB / 418.6 MB, free: 12.74 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.0003133/0.3599, allocations: 142.5 kB / 418.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.3622, allocations: 1.132 MB / 419.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3622, allocations: 0 / 419.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.3632, allocations: 0.5666 MB / 420.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3644, allocations: 216.7 kB / 420.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.3705, allocations: 3.236 MB / 423.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.3721, allocations: 1.68 MB / 425.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.3725, allocations: 71.42 kB / 425.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3725, allocations: 0 / 425.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of Templates: time 0.04098/0.4135, allocations: 28.54 MB / 454.2 MB, free: 9.184 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches