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.001136/0.001137, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.08 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2205, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006489/0.227, allocations: 6.023 MB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.23, allocations: 1.682 MB / 417.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005617/0.2306, allocations: 51.81 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.2312, allocations: 305.5 kB / 418 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009732/0.2322, allocations: 369.5 kB / 418.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.2328, allocations: 359.5 kB / 418.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2346, allocations: 2.017 MB / 420.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.2373, allocations: 2.735 MB / 423.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2384, allocations: 1.048 MB / 424.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.2398, allocations: 1.202 MB / 425.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.2402, allocations: 308 kB / 426 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006856/0.2409, allocations: 459.7 kB / 426.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.2414, allocations: 0.7325 MB / 427.2 MB, free: 196 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.2425, allocations: 1.264 MB / 428.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.2455, allocations: 3.802 MB / 432.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2455, allocations: 0 / 432.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2455, allocations: 0 / 432.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.418e-05/0.2456, allocations: 0 / 432.2 MB, free: 11.11 MB / 350.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.00417/0.2498, allocations: 2.474 MB / 434.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2498, allocations: 12.03 kB / 434.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007693/0.2506, allocations: 266.1 kB / 435 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.2524, allocations: 1.318 MB / 436.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2525, allocations: 168.9 kB / 436.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.2528, allocations: 231.9 kB / 436.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.2569, allocations: 2.546 MB / 439.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.2569, allocations: 0 / 439.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.2571, allocations: 84 kB / 439.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.2572, allocations: 60 kB / 439.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/0.2605, allocations: 2.145 MB / 441.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.2708, allocations: 7.475 MB / 449 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2719, allocations: 1.254 MB / 450.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.273, allocations: 0.6296 MB / 450.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.273, allocations: 8.547 kB / 450.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2731, allocations: 47.11 kB / 450.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.035e-06/0.2731, allocations: 0 / 450.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00388/0.277, allocations: 2.427 MB / 453.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.277, allocations: 59.97 kB / 453.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.278, allocations: 0.7972 MB / 454.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.2781, allocations: 45.64 kB / 454.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.2786, allocations: 0.9215 MB / 455.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.2787, allocations: 224.8 kB / 455.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.2789, allocations: 146.6 kB / 455.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2791, allocations: 390.8 kB / 455.9 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.2796, allocations: 365.8 kB / 456.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.2803, allocations: 0.5829 MB / 456.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.2816, allocations: 0.9854 MB / 457.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2816, allocations: 0 / 457.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001822/0.2834, allocations: 1.147 MB / 459 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2835, allocations: 11.94 kB / 459 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.2835, allocations: 8 kB / 459 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.2838, allocations: 116.7 kB / 459.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.2845, allocations: 179.8 kB / 459.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.2867, allocations: 2.314 MB / 461.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.2872, allocations: 39.97 kB / 461.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.2873, allocations: 32 kB / 461.7 MB, free: 12.64 MB / 382.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.0009734/0.2883, allocations: 0.6574 MB / 462.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.2885, allocations: 90.98 kB / 462.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.2888, allocations: 99.69 kB / 462.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.2888, allocations: 8 kB / 462.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.2888, allocations: 4.062 kB / 462.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2889, allocations: 3.984 kB / 462.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/0.2932, allocations: 2.655 MB / 465.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.2932, allocations: 4 kB / 465.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.2937, allocations: 107.8 kB / 465.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.294, allocations: 96.78 kB / 465.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.294, allocations: 19.98 kB / 465.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.296, allocations: 2.271 MB / 467.7 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.296, allocations: 7.969 kB / 467.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.298, allocations: 1.416 MB / 469.1 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.2984, allocations: 224 kB / 469.4 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.2985, allocations: 15.98 kB / 469.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.299, allocations: 47.97 kB / 469.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.2991, allocations: 48.48 kB / 469.5 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2992, allocations: 20 kB / 469.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007355/0.2999, allocations: 0.5614 MB / 470 MB, free: 4.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2999, allocations: 0 / 470 MB, free: 4.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001063/0.301, allocations: 300 kB / 470.3 MB, free: 3.711 MB / 382.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.0002763/0.3013, allocations: 142.5 kB / 470.5 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.303, allocations: 1.003 MB / 471.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.303, allocations: 0 / 471.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.3039, allocations: 0.5561 MB / 472 MB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.3051, allocations: 230.6 kB / 472.3 MB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.3104, allocations: 3.195 MB / 475.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.3117, allocations: 1.684 MB / 477.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.312, allocations: 71.42 kB / 477.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.312, allocations: 0 / 477.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of Templates: time 0.03421/0.3463, allocations: 28.64 MB / 0.494 GB, free: 132 kB / 414.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.0.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