Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001557, allocations: 115.9 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.001965/0.001965, 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.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.41 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09239, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1907/0.2831, allocations: 16.49 MB / 375.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009155/0.2923, allocations: 4.149 MB / 379.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.2958, allocations: 138.7 kB / 379.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01496/0.3109, allocations: 7.436 MB / 387.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.3166, allocations: 1.32 MB / 388.4 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.3202, allocations: 1.245 MB / 389.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009508/0.3297, allocations: 8.249 MB / 397.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03296/0.3627, allocations: 22.52 MB / 420.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007134/0.3699, allocations: 4.809 MB / 425.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008172/0.3781, allocations: 5.334 MB / 430.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003202/0.3813, allocations: 1.383 MB / 432 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005659/0.387, allocations: 1.66 MB / 433.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004465/0.3915, allocations: 2.58 MB / 436.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009816/0.4013, allocations: 5.222 MB / 441.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.4229, allocations: 18.31 MB / 459.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.423, allocations: 0 / 459.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.423, allocations: 0 / 459.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000453/0.4234, allocations: 0 / 459.8 MB, free: 6.434 MB / 366.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.02842/0.4519, allocations: 10.44 MB / 470.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4519, allocations: 8.031 kB / 470.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/0.4712, allocations: 3.744 MB / 473.9 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.4826, allocations: 5.367 MB / 479.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/0.4832, allocations: 0.6824 MB / 480 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.4857, allocations: 0.8944 MB / 480.9 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/0.5111, allocations: 12.71 MB / 493.6 MB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002629/0.5114, allocations: 7.906 kB / 493.6 MB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002002/0.5134, allocations: 376 kB / 494 MB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005771/0.514, allocations: 403.1 kB / 494.4 MB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.5387, allocations: 11.41 MB / 0.4939 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3443/0.883, allocations: 43.56 MB / 0.5365 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009008/0.892, allocations: 10.49 MB / 0.5467 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.8944, allocations: 1.683 MB / 0.5483 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.8947, allocations: 217.2 kB / 0.5486 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.8948, allocations: 60.28 kB / 0.5486 GB, free: 107.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.678e-06/0.8948, allocations: 0 / 0.5486 GB, free: 107.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008184/0.903, allocations: 4.659 MB / 0.5532 GB, free: 107 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.903, allocations: 74.44 kB / 0.5532 GB, free: 107 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.9072, allocations: 2.925 MB / 0.5561 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.9074, allocations: 58.64 kB / 0.5561 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.9093, allocations: 3.836 MB / 0.5599 GB, free: 104.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.9098, allocations: 0.7918 MB / 0.5607 GB, free: 104 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.9109, allocations: 0.9465 MB / 0.5616 GB, free: 103.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.9109, allocations: 303.1 kB / 0.5619 GB, free: 103.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.9131, allocations: 1.972 MB / 0.5638 GB, free: 103.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.9162, allocations: 4.157 MB / 0.5679 GB, free: 100.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/0.922, allocations: 6.509 MB / 0.5742 GB, free: 95.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/0.922, allocations: 27.22 kB / 0.5742 GB, free: 95.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008119/0.9301, allocations: 6.503 MB / 0.5806 GB, free: 93.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.9302, allocations: 36.62 kB / 0.5806 GB, free: 93.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.653e-05/0.9303, allocations: 74.94 kB / 0.5807 GB, free: 93.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.9311, allocations: 417 kB / 0.5811 GB, free: 92.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.934, allocations: 1.064 MB / 0.5821 GB, free: 92.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.9382, allocations: 4.375 MB / 0.5864 GB, free: 90.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.9411, allocations: 0.6195 MB / 0.587 GB, free: 89.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/0.9416, allocations: 251 kB / 0.5873 GB, free: 89.66 MB / 446.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.004769/0.9464, allocations: 3.374 MB / 0.5906 GB, free: 87.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/0.9469, allocations: 276.4 kB / 0.5908 GB, free: 87.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.9516, allocations: 3.573 MB / 0.5943 GB, free: 85.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003269/0.9549, allocations: 2.803 MB / 0.597 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.9549, allocations: 7.438 kB / 0.597 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.9549, allocations: 11.95 kB / 0.5971 GB, free: 84.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.9709, allocations: 9.864 MB / 0.6067 GB, free: 75.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.971, allocations: 4 kB / 0.6067 GB, free: 75.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.9724, allocations: 407.4 kB / 0.6071 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006233/0.9731, allocations: 321 kB / 0.6074 GB, free: 74.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.9732, allocations: 50 kB / 0.6074 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.9769, allocations: 4.192 MB / 0.6115 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9769, allocations: 0 / 0.6115 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.9826, allocations: 5.121 MB / 0.6165 GB, free: 65.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.9839, allocations: 0.6024 MB / 0.6171 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/0.9844, allocations: 43.98 kB / 0.6172 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.9856, allocations: 131.8 kB / 0.6173 GB, free: 64.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.9859, allocations: 149.8 kB / 0.6174 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.986, allocations: 64.86 kB / 0.6175 GB, free: 64.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002491/0.9885, allocations: 1.963 MB / 0.6194 GB, free: 62.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.9885, allocations: 0 / 0.6194 GB, free: 62.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004288/0.9928, allocations: 1.958 MB / 0.6213 GB, free: 60.12 MB / 446.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.0003747/0.9932, allocations: 204 kB / 0.6215 GB, free: 59.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005595/0.9988, allocations: 4.633 MB / 0.626 GB, free: 55.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9988, allocations: 384 / 0.626 GB, free: 55.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.001, allocations: 1.734 MB / 0.6277 GB, free: 53.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/1.004, allocations: 0.6919 MB / 0.6284 GB, free: 52.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/1.024, allocations: 13.21 MB / 0.6413 GB, free: 39.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006529/1.03, allocations: 5.641 MB / 0.6468 GB, free: 33.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003709/1.034, allocations: 1.694 MB / 0.6485 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/1.035, allocations: 231.4 kB / 0.6487 GB, free: 32.02 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/1.035, allocations: 0 / 0.6487 GB, free: 32.02 MB / 446.1 MB Notification: Performance of Templates: time 0.06257/1.097, allocations: 38.06 MB / 0.6859 GB, free: 10.27 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches