Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 109.8 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.001282/0.001282, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.497/1.497, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 70.89 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008324/0.1154, allocations: 6.028 MB / 364.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.1191, allocations: 1.686 MB / 366.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007024/0.1199, allocations: 47.81 kB / 366.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.1206, allocations: 305.5 kB / 366.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.122, allocations: 377.4 kB / 366.8 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.1227, allocations: 355.5 kB / 367.2 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.125, allocations: 2.001 MB / 369.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.1282, allocations: 2.731 MB / 371.9 MB, free: 328 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1534/0.2817, allocations: 1.043 MB / 373 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.2832, allocations: 1.197 MB / 374.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004486/0.2837, allocations: 311.5 kB / 374.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008396/0.2845, allocations: 457.8 kB / 374.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.2851, allocations: 0.728 MB / 375.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.2863, allocations: 1.267 MB / 376.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003422/0.2897, allocations: 3.748 MB / 380.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2897, allocations: 0.5156 kB / 380.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2897, allocations: 0.8438 kB / 380.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.545e-05/0.2898, allocations: 1.594 kB / 380.7 MB, free: 10.1 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.004272/0.2941, allocations: 2.487 MB / 383.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2941, allocations: 10.91 kB / 383.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.2949, allocations: 263.4 kB / 383.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2966, allocations: 1.28 MB / 384.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.2967, allocations: 171.2 kB / 384.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.297, allocations: 218.3 kB / 385.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.3008, allocations: 2.549 MB / 387.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.3009, allocations: 0 / 387.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.3011, allocations: 91.56 kB / 387.7 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-05/0.3012, allocations: 56 kB / 387.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.3043, allocations: 2.145 MB / 389.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009443/0.3137, allocations: 7.594 MB / 397.5 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3149, allocations: 1.259 MB / 398.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/0.3159, allocations: 0.6227 MB / 399.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.3159, allocations: 7.938 kB / 399.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.316, allocations: 41.06 kB / 399.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.316, allocations: 3.938 kB / 399.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.003979/0.32, allocations: 2.425 MB / 401.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3201, allocations: 60.47 kB / 401.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3211, allocations: 0.8086 MB / 402.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.3211, allocations: 36.64 kB / 402.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.3218, allocations: 0.9166 MB / 403.7 MB, free: 12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.322, allocations: 226.4 kB / 403.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.3222, allocations: 145.6 kB / 404.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3224, allocations: 392.4 kB / 404.4 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.323, allocations: 366 kB / 404.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.3238, allocations: 0.5769 MB / 405.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.3252, allocations: 0.9856 MB / 406.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3252, allocations: 4 kB / 406.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001909/0.3271, allocations: 1.151 MB / 407.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3272, allocations: 8 kB / 407.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3272, allocations: 11.94 kB / 407.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.3275, allocations: 118.6 kB / 407.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.3282, allocations: 166.4 kB / 407.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.3307, allocations: 2.321 MB / 410.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.3312, allocations: 35.98 kB / 410.2 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.3313, allocations: 39.98 kB / 410.2 MB, free: 5.445 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.001036/0.3323, allocations: 0.6509 MB / 410.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3325, allocations: 82.97 kB / 410.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.3327, allocations: 111.7 kB / 411 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.3328, allocations: 8 kB / 411.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.3328, allocations: 8.062 kB / 411.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3328, allocations: 4.172 kB / 411.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.3372, allocations: 2.66 MB / 413.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3372, allocations: 3.938 kB / 413.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.3377, allocations: 109.2 kB / 413.8 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.338, allocations: 100.8 kB / 413.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.3381, allocations: 19.94 kB / 414 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.3404, allocations: 2.261 MB / 416.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.3404, allocations: 7.969 kB / 416.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.3426, allocations: 1.415 MB / 417.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.343, allocations: 228 kB / 417.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3431, allocations: 12 kB / 417.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.3436, allocations: 43.95 kB / 417.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3437, allocations: 50.59 kB / 418 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.3437, allocations: 20.05 kB / 418 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007784/0.3445, allocations: 0.5654 MB / 418.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3445, allocations: 0 / 418.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001124/0.3457, allocations: 303 kB / 418.8 MB, free: 12.59 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.0002478/0.3459, allocations: 137.4 kB / 419 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.348, allocations: 1.133 MB / 420.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.348, allocations: 0 / 420.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009088/0.3489, allocations: 0.5627 MB / 420.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.3501, allocations: 226.9 kB / 420.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.3555, allocations: 3.233 MB / 424.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.357, allocations: 1.688 MB / 425.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.3573, allocations: 67.42 kB / 425.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3573, allocations: 0 / 425.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of Templates: time 0.03697/0.3943, allocations: 28.53 MB / 454.4 MB, free: 9.051 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches