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.001337/0.001342, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.19 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.0862, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007009/0.09325, allocations: 6.028 MB / 364.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.09592, allocations: 1.686 MB / 366.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.0963, allocations: 51.81 kB / 366.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.09685, allocations: 305.4 kB / 367 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.09773, allocations: 357.5 kB / 367.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.09831, allocations: 359.5 kB / 367.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1, allocations: 2.021 MB / 369.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1584/0.2584, allocations: 2.726 MB / 372.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.2599, allocations: 1.045 MB / 373.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.2615, allocations: 1.208 MB / 374.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.262, allocations: 309.2 kB / 375 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.2628, allocations: 453.4 kB / 375.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.2635, allocations: 0.728 MB / 376.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.2647, allocations: 1.268 MB / 377.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.2686, allocations: 3.799 MB / 381.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2686, allocations: 1.719 kB / 381.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2687, allocations: 0 / 381.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.404e-05/0.2688, allocations: 0 / 381.2 MB, free: 9.578 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.00429/0.2731, allocations: 2.483 MB / 383.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2731, allocations: 11.91 kB / 383.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/0.2739, allocations: 264.9 kB / 384 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.2761, allocations: 1.327 MB / 385.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.2762, allocations: 167.7 kB / 385.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.2765, allocations: 218.7 kB / 385.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/0.2804, allocations: 2.547 MB / 388.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.2805, allocations: 0 / 388.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.2807, allocations: 90.66 kB / 388.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/0.2808, allocations: 56.88 kB / 388.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/0.2841, allocations: 2.143 MB / 390.5 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.2946, allocations: 7.487 MB / 398 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.2958, allocations: 1.256 MB / 399.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/0.2966, allocations: 0.6254 MB / 399.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.2967, allocations: 7.094 kB / 399.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2967, allocations: 38.34 kB / 399.9 MB, free: 14.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.495e-06/0.2967, allocations: 0 / 399.9 MB, free: 14.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.003817/0.3006, allocations: 2.425 MB / 402.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3006, allocations: 58.22 kB / 402.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/0.3016, allocations: 0.8076 MB / 403.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.3016, allocations: 40.19 kB / 403.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.3022, allocations: 0.9158 MB / 404.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.3023, allocations: 223.8 kB / 404.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.3026, allocations: 147.6 kB / 404.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3027, allocations: 394.8 kB / 404.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.3033, allocations: 368.2 kB / 405.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.3039, allocations: 0.582 MB / 405.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3052, allocations: 0.981 MB / 406.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3052, allocations: 4 kB / 406.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0017/0.3069, allocations: 1.155 MB / 408 MB, free: 7.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3069, allocations: 8 kB / 408 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3069, allocations: 7.938 kB / 408 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.3072, allocations: 117 kB / 408.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.3079, allocations: 167 kB / 408.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.31, allocations: 2.319 MB / 410.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.3106, allocations: 39.97 kB / 410.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.3106, allocations: 31.98 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.0009485/0.3116, allocations: 0.6621 MB / 411.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.3117, allocations: 82.97 kB / 411.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.3119, allocations: 103.5 kB / 411.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.312, allocations: 15.98 kB / 411.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.312, allocations: 8.062 kB / 411.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.312, allocations: 0 / 411.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.3161, allocations: 2.656 MB / 414.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3161, allocations: 4 kB / 414.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.3166, allocations: 107.7 kB / 414.3 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.3168, allocations: 96.34 kB / 414.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.3169, allocations: 16 kB / 414.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.3189, allocations: 2.265 MB / 416.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3189, allocations: 3.938 kB / 416.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.3209, allocations: 1.418 MB / 418.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.3213, allocations: 224 kB / 418.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.3214, allocations: 20 kB / 418.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.3219, allocations: 44.02 kB / 418.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.322, allocations: 51.94 kB / 418.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3221, allocations: 20 kB / 418.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007034/0.3228, allocations: 0.5654 MB / 419 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 419 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00104/0.3238, allocations: 303.5 kB / 419.3 MB, free: 12.1 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.0002259/0.3241, allocations: 134.6 kB / 419.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3256, allocations: 0.9976 MB / 420.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3256, allocations: 2.25 kB / 420.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.3265, allocations: 0.559 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.0009792/0.3275, allocations: 225.2 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.004763/0.3322, allocations: 3.206 MB / 424.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.3335, allocations: 1.732 MB / 426.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.334, allocations: 199.1 kB / 426.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3342, allocations: 67.44 kB / 426.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3342, allocations: 0 / 426.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of Templates: time 0.02076/0.355, allocations: 12.18 MB / 438.6 MB, free: 8.926 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 gbode -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