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.001475/0.001475, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002217/0.002217, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.84 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08965/0.09077, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007113/0.09793, allocations: 6.02 MB / 364.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.1009, allocations: 1.694 MB / 366.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.1013, allocations: 51.81 kB / 366.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.1019, allocations: 305.5 kB / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009857/0.1029, allocations: 361.5 kB / 367.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.1036, allocations: 359.4 kB / 367.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1053, allocations: 2.017 MB / 369.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1633/0.2686, allocations: 2.73 MB / 372.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.2706, allocations: 1.042 MB / 373.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.2728, allocations: 1.203 MB / 374.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005744/0.2734, allocations: 309.4 kB / 374.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.2743, allocations: 455.1 kB / 375.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006644/0.275, allocations: 0.7323 MB / 376.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.2763, allocations: 1.262 MB / 377.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.2806, allocations: 3.801 MB / 381.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2806, allocations: 0.9375 kB / 381.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2806, allocations: 0 / 381.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001129/0.2807, allocations: 3.25 kB / 381.2 MB, free: 9.547 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.006355/0.2871, allocations: 2.482 MB / 383.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.2872, allocations: 11.69 kB / 383.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.2884, allocations: 262.4 kB / 383.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.2912, allocations: 1.326 MB / 385.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.2914, allocations: 174.3 kB / 385.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/0.2918, allocations: 218.1 kB / 385.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004981/0.2968, allocations: 2.543 MB / 388.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.2968, allocations: 0 / 388.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.297, allocations: 90.69 kB / 388.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.672e-05/0.2971, allocations: 55.97 kB / 388.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.3006, allocations: 2.143 MB / 390.5 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.311, allocations: 7.486 MB / 398 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.3122, allocations: 1.259 MB / 399.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.3132, allocations: 0.6162 MB / 399.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.3132, allocations: 13.56 kB / 399.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3132, allocations: 42.42 kB / 399.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 3.146e-06/0.3133, allocations: 3.281 kB / 399.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.00379/0.3171, allocations: 2.415 MB / 402.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3171, allocations: 65.73 kB / 402.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.3181, allocations: 0.8077 MB / 403.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.3181, allocations: 39.66 kB / 403.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.3186, allocations: 0.9162 MB / 404.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.3188, allocations: 226 kB / 404.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.319, allocations: 144.7 kB / 404.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3192, allocations: 387.8 kB / 404.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.3197, allocations: 366.8 kB / 405.2 MB, free: 10.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.3204, allocations: 0.5777 MB / 405.8 MB, free: 9.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.3217, allocations: 0.9859 MB / 406.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3217, allocations: 4 kB / 406.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001721/0.3234, allocations: 1.152 MB / 408 MB, free: 7.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3234, allocations: 8 kB / 408 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3234, allocations: 13.62 kB / 408 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.3237, allocations: 111.4 kB / 408.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.3244, allocations: 174.5 kB / 408.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.3266, allocations: 2.332 MB / 410.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.3271, allocations: 35.97 kB / 410.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.3272, allocations: 36 kB / 410.7 MB, free: 4.949 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.0009976/0.3282, allocations: 0.6562 MB / 411.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.3283, allocations: 86.95 kB / 411.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3285, allocations: 103.6 kB / 411.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.3286, allocations: 8 kB / 411.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.3286, allocations: 0 / 411.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3286, allocations: 3.984 kB / 411.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/0.3328, allocations: 2.663 MB / 414.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3328, allocations: 0 / 414.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.3332, allocations: 107.5 kB / 414.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.3335, allocations: 102.1 kB / 414.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.3335, allocations: 15.98 kB / 414.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.3354, allocations: 2.262 MB / 416.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3355, allocations: 3.938 kB / 416.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.3374, allocations: 1.418 MB / 418.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.3379, allocations: 228 kB / 418.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.338, allocations: 16.27 kB / 418.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.3384, allocations: 40.03 kB / 418.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3385, allocations: 61.62 kB / 418.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.3386, allocations: 19.94 kB / 418.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.3393, allocations: 0.5614 MB / 419 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3393, allocations: 0 / 419 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001112/0.3404, allocations: 304 kB / 419.3 MB, free: 12.11 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.0002508/0.3406, allocations: 141 kB / 419.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3422, allocations: 1.007 MB / 420.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3422, allocations: 0 / 420.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.3431, allocations: 0.5556 MB / 421 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3441, allocations: 223.6 kB / 421.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.3495, allocations: 3.193 MB / 424.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.3511, allocations: 1.732 MB / 426.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000694/0.3518, allocations: 207.1 kB / 426.3 MB, free: 5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.352, allocations: 59.42 kB / 426.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of SimCode: time 1.172e-06/0.352, allocations: 7.281 kB / 426.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of Templates: time 0.02341/0.3754, allocations: 12.18 MB / 438.6 MB, free: 8.922 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 -s cvode -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