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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 220.5 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 59.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02045/0.3185, allocations: 16.61 MB / 448.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.33, allocations: 4.165 MB / 452.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/0.3337, allocations: 167.2 kB / 452.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01767/0.3514, allocations: 7.516 MB / 460.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007224/0.3586, allocations: 1.355 MB / 461.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.3633, allocations: 1.273 MB / 463.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01286/0.3762, allocations: 8.304 MB / 471.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02956/0.4057, allocations: 14.36 MB / 485.7 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007942/0.4137, allocations: 4.918 MB / 490.6 MB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009165/0.4228, allocations: 5.353 MB / 496 MB, free: 6.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003755/0.4266, allocations: 1.383 MB / 497.4 MB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005381/0.432, allocations: 1.675 MB / 499.1 MB, free: 3.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.4366, allocations: 2.588 MB / 0.4899 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01185/0.4484, allocations: 5.214 MB / 0.495 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02439/0.4728, allocations: 18.35 MB / 0.5129 GB, free: 9.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4728, allocations: 4 kB / 0.5129 GB, free: 9.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4728, allocations: 0 / 0.5129 GB, free: 9.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005831/0.4734, allocations: 0 / 0.5129 GB, free: 9.016 MB / 430.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.03178/0.5052, allocations: 10.56 MB / 0.5232 GB, free: 14.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5052, allocations: 8.031 kB / 0.5232 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002832/0.5055, allocations: 247 kB / 0.5235 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004513/0.51, allocations: 1.294 MB / 0.5247 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01987/0.5299, allocations: 3.71 MB / 0.5284 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/0.543, allocations: 5.425 MB / 0.5336 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006721/0.5436, allocations: 0.6785 MB / 0.5343 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003218/0.5469, allocations: 0.8906 MB / 0.5352 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4476/0.9945, allocations: 12.74 MB / 0.5476 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002728/0.9947, allocations: 10.73 kB / 0.5476 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002679/0.9974, allocations: 378.1 kB / 0.548 GB, free: 84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003178/0.9977, allocations: 398.5 kB / 0.5484 GB, free: 83.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/1.019, allocations: 11.43 MB / 0.5595 GB, free: 78.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06448/1.084, allocations: 42.37 MB / 0.6009 GB, free: 35.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007525/1.091, allocations: 4.209 MB / 0.605 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/1.093, allocations: 1.534 MB / 0.6065 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/1.093, allocations: 79.3 kB / 0.6066 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.093, allocations: 64.55 kB / 0.6067 GB, free: 29.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.339e-06/1.093, allocations: 0 / 0.6067 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008446/1.102, allocations: 4.598 MB / 0.6111 GB, free: 25.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.102, allocations: 77.34 kB / 0.6112 GB, free: 25.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005579/1.107, allocations: 2.931 MB / 0.6141 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/1.108, allocations: 61.7 kB / 0.6141 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/1.11, allocations: 3.975 MB / 0.618 GB, free: 18.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007302/1.11, allocations: 0.8323 MB / 0.6188 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/1.112, allocations: 0.9605 MB / 0.6198 GB, free: 16.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/1.112, allocations: 305.1 kB / 0.6201 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/1.114, allocations: 1.973 MB / 0.622 GB, free: 14.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/1.118, allocations: 4.169 MB / 0.6261 GB, free: 9.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/1.123, allocations: 6.517 MB / 0.6324 GB, free: 1.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-05/1.123, allocations: 23.94 kB / 0.6324 GB, free: 1.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.0109/1.134, allocations: 6.526 MB / 0.6388 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/1.134, allocations: 36 kB / 0.6389 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/1.134, allocations: 79.94 kB / 0.6389 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.135, allocations: 413.3 kB / 0.6393 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/1.139, allocations: 1.072 MB / 0.6404 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/1.145, allocations: 4.274 MB / 0.6445 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/1.149, allocations: 0.6325 MB / 0.6452 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/1.15, allocations: 248 kB / 0.6454 GB, free: 4.406 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.006534/1.156, allocations: 3.373 MB / 0.6487 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008798/1.157, allocations: 286.2 kB / 0.649 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006721/1.164, allocations: 3.567 MB / 0.6524 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004583/1.168, allocations: 2.819 MB / 0.6552 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.168, allocations: 4 kB / 0.6552 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/1.168, allocations: 11.95 kB / 0.6552 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.189, allocations: 9.911 MB / 0.6649 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.189, allocations: 4 kB / 0.6649 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.191, allocations: 415.4 kB / 0.6653 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008445/1.192, allocations: 320.6 kB / 0.6656 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.192, allocations: 47.98 kB / 0.6656 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/1.197, allocations: 4.085 MB / 0.6696 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.197, allocations: 4 kB / 0.6696 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008597/1.206, allocations: 5.146 MB / 0.6747 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.208, allocations: 0.5561 MB / 0.6752 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/1.208, allocations: 44 kB / 0.6753 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.21, allocations: 127.8 kB / 0.6754 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/1.21, allocations: 161.8 kB / 0.6755 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.21, allocations: 71.92 kB / 0.6756 GB, free: 5.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003774/1.214, allocations: 1.959 MB / 0.6775 GB, free: 3.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.214, allocations: 0 / 0.6775 GB, free: 3.227 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00648/1.221, allocations: 1.992 MB / 0.6795 GB, free: 1.227 MB / 494.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.009256/1.23, allocations: 5.792 MB / 0.6851 GB, free: 11.39 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008282/1.238, allocations: 4.44 MB / 0.6894 GB, free: 6.945 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.238, allocations: 4 kB / 0.6895 GB, free: 6.941 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002659/1.241, allocations: 1.626 MB / 0.691 GB, free: 5.305 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/1.245, allocations: 0.6794 MB / 0.6917 GB, free: 4.641 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08124/1.326, allocations: 40.29 MB / 0.731 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009972/1.336, allocations: 5.649 MB / 0.7366 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004346/1.34, allocations: 1.69 MB / 0.7382 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2314/1.571, allocations: 2.74 MB / 0.7409 GB, free: 181.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/1.571, allocations: 0 / 0.7409 GB, free: 181.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.702, allocations: 94.98 MB / 0.8336 GB, free: 106.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/19.41, allocations: 4.062 kB / 0.8337 GB, free: 106.1 MB / 0.545 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.779283573967405]