Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, 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.001671/0.001671, 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.399/1.399, allocations: 227.7 MB / 247.9 MB, free: 10.16 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.001909/0.001909, allocations: 63.91 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2329, allocations: 50.53 MB / 410.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01865/0.2515, allocations: 16.56 MB / 426.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008593/0.2601, allocations: 4.149 MB / 430.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.2624, allocations: 143.6 kB / 431.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01615/0.2786, allocations: 7.473 MB / 438.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.2836, allocations: 1.327 MB / 439.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.2869, allocations: 1.247 MB / 441.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.2974, allocations: 8.254 MB / 449.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02689/0.3242, allocations: 17.32 MB / 466.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006787/0.331, allocations: 4.824 MB / 471.5 MB, free: 3.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008063/0.3391, allocations: 5.326 MB / 476.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003175/0.3423, allocations: 1.387 MB / 478.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004607/0.3469, allocations: 1.664 MB / 479.9 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00382/0.3507, allocations: 2.588 MB / 482.5 MB, free: 8.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007675/0.3584, allocations: 5.218 MB / 487.7 MB, free: 3.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02207/0.3804, allocations: 18.35 MB / 0.4942 GB, free: 1.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3804, allocations: 0 / 0.4942 GB, free: 1.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3804, allocations: 0 / 0.4942 GB, free: 1.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003945/0.3808, allocations: 0 / 0.4942 GB, free: 1.137 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02878/0.4096, allocations: 10.63 MB / 0.5046 GB, free: 6.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4097, allocations: 8.031 kB / 0.5046 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/0.4298, allocations: 3.792 MB / 0.5083 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.4413, allocations: 5.372 MB / 0.5135 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007337/0.442, allocations: 0.6824 MB / 0.5142 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/0.4451, allocations: 0.8828 MB / 0.515 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03075/0.4758, allocations: 12.72 MB / 0.5275 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003575/0.4762, allocations: 11.94 kB / 0.5275 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002349/0.4785, allocations: 376 kB / 0.5278 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/0.479, allocations: 399.1 kB / 0.5282 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.5036, allocations: 11.41 MB / 0.5394 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4047/0.9083, allocations: 43.7 MB / 0.582 GB, free: 83.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007608/0.9159, allocations: 10.27 MB / 0.5921 GB, free: 73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.9176, allocations: 1.537 MB / 0.5936 GB, free: 71.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.9178, allocations: 217.1 kB / 0.5938 GB, free: 71.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.9179, allocations: 60.03 kB / 0.5938 GB, free: 71.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.098e-06/0.9179, allocations: 0 / 0.5938 GB, free: 71.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007234/0.9251, allocations: 4.661 MB / 0.5984 GB, free: 66.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.9251, allocations: 77.41 kB / 0.5985 GB, free: 66.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.9283, allocations: 2.929 MB / 0.6013 GB, free: 63.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.9285, allocations: 65.7 kB / 0.6014 GB, free: 63.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.9298, allocations: 3.977 MB / 0.6053 GB, free: 60.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.9303, allocations: 0.8259 MB / 0.6061 GB, free: 59.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009805/0.9312, allocations: 0.9566 MB / 0.607 GB, free: 58.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.9313, allocations: 301.1 kB / 0.6073 GB, free: 58.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.9334, allocations: 1.973 MB / 0.6092 GB, free: 56.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.9363, allocations: 4.149 MB / 0.6133 GB, free: 50.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/0.9419, allocations: 6.517 MB / 0.6196 GB, free: 43.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/0.9419, allocations: 20 kB / 0.6197 GB, free: 43.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007907/0.9498, allocations: 6.512 MB / 0.626 GB, free: 36.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.9499, allocations: 36 kB / 0.626 GB, free: 36.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.023e-05/0.95, allocations: 76 kB / 0.6261 GB, free: 36.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000768/0.9507, allocations: 408.7 kB / 0.6265 GB, free: 36.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.9537, allocations: 1.065 MB / 0.6275 GB, free: 35.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.9576, allocations: 4.386 MB / 0.6318 GB, free: 30.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.9607, allocations: 0.6364 MB / 0.6325 GB, free: 30.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004344/0.9611, allocations: 247.9 kB / 0.6327 GB, free: 29.85 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003887/0.965, allocations: 3.372 MB / 0.636 GB, free: 26.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/0.9655, allocations: 286.2 kB / 0.6363 GB, free: 26.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.9702, allocations: 3.577 MB / 0.6397 GB, free: 22.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003207/0.9734, allocations: 2.796 MB / 0.6425 GB, free: 19.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.9734, allocations: 7.938 kB / 0.6425 GB, free: 19.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.9734, allocations: 11.95 kB / 0.6425 GB, free: 19.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.9869, allocations: 9.855 MB / 0.6521 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.9869, allocations: 7.938 kB / 0.6521 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.9883, allocations: 411.4 kB / 0.6525 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006047/0.9889, allocations: 313.3 kB / 0.6528 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.989, allocations: 51.92 kB / 0.6529 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.9927, allocations: 4.205 MB / 0.657 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9927, allocations: 4 kB / 0.657 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/0.9986, allocations: 5.119 MB / 0.662 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1, allocations: 0.6157 MB / 0.6626 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/1, allocations: 43.98 kB / 0.6626 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.002, allocations: 139.8 kB / 0.6628 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/1.002, allocations: 141.8 kB / 0.6629 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.002, allocations: 63.98 kB / 0.663 GB, free: 14.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00302/1.005, allocations: 1.963 MB / 0.6649 GB, free: 12.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.005, allocations: 0 / 0.6649 GB, free: 12.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005249/1.01, allocations: 1.988 MB / 0.6668 GB, free: 10.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004891/1.011, allocations: 202.8 kB / 0.667 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007364/1.018, allocations: 4.43 MB / 0.6713 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.018, allocations: 4 kB / 0.6713 GB, free: 5.934 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/1.021, allocations: 1.61 MB / 0.6729 GB, free: 4.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.024, allocations: 0.6861 MB / 0.6736 GB, free: 3.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.047, allocations: 13.4 MB / 0.6867 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006615/1.053, allocations: 5.653 MB / 0.6922 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00406/1.058, allocations: 1.694 MB / 0.6938 GB, free: 14.78 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/1.058, allocations: 227.3 kB / 0.6941 GB, free: 14.56 MB / 0.4982 GB Notification: Performance of SimCode: time 9.02e-07/1.058, allocations: 4 kB / 0.6941 GB, free: 14.56 MB / 0.4982 GB Notification: Performance of Templates: time 0.07921/1.137, allocations: 40.41 MB / 0.7335 GB, free: 6.352 MB / 0.5294 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches