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.001287/0.001287, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 208 kB / 19.41 MB, free: 3.645 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.433/1.433, allocations: 227.7 MB / 247.9 MB, free: 10.17 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.002006/0.002006, allocations: 63.88 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2644, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00776/0.2721, allocations: 6.03 MB / 416.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.2756, allocations: 1.686 MB / 417.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.2763, allocations: 51.81 kB / 418 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000727/0.277, allocations: 321.4 kB / 418.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.2782, allocations: 385.4 kB / 418.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.2789, allocations: 351.6 kB / 419 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.2811, allocations: 2.017 MB / 421 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.2836, allocations: 2.017 MB / 423 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.285, allocations: 1.056 MB / 424.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.2865, allocations: 1.202 MB / 425.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004238/0.2869, allocations: 312 kB / 425.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.2876, allocations: 455.7 kB / 426 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006675/0.2883, allocations: 0.7247 MB / 426.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.2897, allocations: 1.276 MB / 428.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.2939, allocations: 3.807 MB / 431.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2939, allocations: 0 / 431.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2939, allocations: 4 kB / 431.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.294, allocations: 0 / 431.9 MB, free: 11.65 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.005056/0.2991, allocations: 2.522 MB / 434.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2991, allocations: 8.031 kB / 434.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/0.2999, allocations: 279.4 kB / 434.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.3024, allocations: 1.338 MB / 436 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.3025, allocations: 168.9 kB / 436.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.3028, allocations: 220.1 kB / 436.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004616/0.3074, allocations: 2.545 MB / 438.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.3075, allocations: 7.875 kB / 438.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.3077, allocations: 92 kB / 439 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.691e-05/0.3078, allocations: 60 kB / 439.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/0.3116, allocations: 2.134 MB / 441.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.3243, allocations: 7.505 MB / 448.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3259, allocations: 1.218 MB / 449.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.3273, allocations: 0.5945 MB / 450.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.3274, allocations: 4.562 kB / 450.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3274, allocations: 43.12 kB / 450.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.936e-06/0.3274, allocations: 0 / 450.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004793/0.3322, allocations: 2.454 MB / 453 MB, free: 5.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3322, allocations: 63.97 kB / 453.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3334, allocations: 0.805 MB / 453.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.3335, allocations: 33.7 kB / 453.9 MB, free: 4.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.3342, allocations: 0.948 MB / 454.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.3345, allocations: 237.9 kB / 455.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.3347, allocations: 146.6 kB / 455.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.3349, allocations: 398.7 kB / 455.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.3355, allocations: 365.8 kB / 456 MB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008946/0.3364, allocations: 0.5829 MB / 456.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.3379, allocations: 0.9815 MB / 457.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3379, allocations: 4 kB / 457.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002044/0.3399, allocations: 1.148 MB / 458.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.34, allocations: 16.03 kB / 458.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.34, allocations: 8 kB / 458.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.3404, allocations: 112.7 kB / 458.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.3411, allocations: 171.7 kB / 459 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.3438, allocations: 2.326 MB / 461.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.3444, allocations: 35.97 kB / 461.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.3444, allocations: 39.98 kB / 461.4 MB, free: 13.09 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.001035/0.3455, allocations: 0.6535 MB / 462.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.3457, allocations: 91.38 kB / 462.2 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.346, allocations: 99.69 kB / 462.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/0.346, allocations: 16.05 kB / 462.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.346, allocations: 0 / 462.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.346, allocations: 3.984 kB / 462.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/0.3507, allocations: 2.651 MB / 464.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3507, allocations: 4 kB / 464.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.3512, allocations: 115.9 kB / 465 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/0.3514, allocations: 96.78 kB / 465.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.3515, allocations: 12 kB / 465.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.3539, allocations: 2.276 MB / 467.4 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3539, allocations: 0 / 467.4 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.3563, allocations: 1.425 MB / 468.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/0.3568, allocations: 228.5 kB / 469.1 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.3569, allocations: 16 kB / 469.1 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3574, allocations: 43.89 kB / 469.1 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3575, allocations: 44.5 kB / 469.2 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/0.3576, allocations: 24.05 kB / 469.2 MB, free: 5.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008206/0.3584, allocations: 0.5615 MB / 469.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3584, allocations: 0 / 469.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001172/0.3596, allocations: 300 kB / 470.1 MB, free: 4.16 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.0002984/0.3599, allocations: 139 kB / 470.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.3619, allocations: 0.9677 MB / 471.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3619, allocations: 0 / 471.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.3628, allocations: 0.5372 MB / 471.7 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.364, allocations: 230.9 kB / 471.9 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.3699, allocations: 3.261 MB / 475.2 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.3714, allocations: 1.732 MB / 476.9 MB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006195/0.372, allocations: 199.1 kB / 477.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.3722, allocations: 59.44 kB / 477.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3722, allocations: 0 / 477.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of Templates: time 0.02565/0.3979, allocations: 12.51 MB / 489.7 MB, free: 0.5625 MB / 398.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 -s gbode -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