Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.001448/0.001448, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001757/0.001757, allocations: 209.5 kB / 24.52 MB, free: 3.918 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.452/1.452, allocations: 230.5 MB / 258.2 MB, free: 7.746 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 63.88 kB / 378.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2786, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007334/0.286, allocations: 5.359 MB / 437.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.2894, allocations: 1.639 MB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.2902, allocations: 63.62 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.2909, allocations: 317.4 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.2921, allocations: 405.5 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.2929, allocations: 359.5 kB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002135/0.295, allocations: 2.024 MB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.297, allocations: 1.603 MB / 443.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.2984, allocations: 1.075 MB / 444.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.3, allocations: 1.234 MB / 446 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.3004, allocations: 308 kB / 446.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008029/0.3012, allocations: 459.7 kB / 446.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006668/0.3019, allocations: 0.7403 MB / 447.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.3031, allocations: 1.023 MB / 448.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.3071, allocations: 3.831 MB / 452.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3071, allocations: 4 kB / 452.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3071, allocations: 0 / 452.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.471e-05/0.3072, allocations: 0 / 452.3 MB, free: 1.934 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004933/0.3121, allocations: 2.456 MB / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.3122, allocations: 12.03 kB / 454.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.925e-05/0.3122, allocations: 64.72 kB / 454.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004071/0.3126, allocations: 328.9 kB / 455.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008145/0.3135, allocations: 275.4 kB / 455.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.3156, allocations: 1.274 MB / 456.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.3158, allocations: 170.6 kB / 456.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.3161, allocations: 227.9 kB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.3205, allocations: 2.625 MB / 459.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.3205, allocations: 4 kB / 459.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.3207, allocations: 92 kB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.3208, allocations: 88.47 kB / 459.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.3243, allocations: 2.149 MB / 462 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.3373, allocations: 6.743 MB / 468.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3384, allocations: 0.6979 MB / 469.5 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.3395, allocations: 0.583 MB / 470.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.3395, allocations: 8.5 kB / 470.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3395, allocations: 43.06 kB / 470.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.547e-06/0.3395, allocations: 4 kB / 470.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.00441/0.344, allocations: 2.375 MB / 472.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.344, allocations: 64 kB / 472.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3451, allocations: 0.805 MB / 473.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.3451, allocations: 37.64 kB / 473.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/0.3458, allocations: 0.9558 MB / 474.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.346, allocations: 234 kB / 474.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.3462, allocations: 150.6 kB / 474.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3464, allocations: 386.8 kB / 475.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.347, allocations: 365.8 kB / 475.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.3477, allocations: 0.5829 MB / 476.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.3491, allocations: 0.9795 MB / 477 MB, free: 8.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3491, allocations: 4 kB / 477 MB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00188/0.351, allocations: 1.157 MB / 478.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.351, allocations: 8 kB / 478.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.351, allocations: 4 kB / 478.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.3513, allocations: 108.8 kB / 478.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.3521, allocations: 179.8 kB / 478.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.3546, allocations: 2.21 MB / 480.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.3552, allocations: 39.91 kB / 480.7 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.3552, allocations: 32.06 kB / 480.8 MB, free: 4.629 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.001191/0.3564, allocations: 0.6535 MB / 481.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3566, allocations: 83.48 kB / 481.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3568, allocations: 103.7 kB / 481.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.3569, allocations: 11.94 kB / 481.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.3569, allocations: 0 / 481.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3569, allocations: 7.984 kB / 481.6 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.3615, allocations: 2.544 MB / 484.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3615, allocations: 160 / 484.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.3619, allocations: 111.9 kB / 484.3 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3622, allocations: 104.7 kB / 484.4 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3623, allocations: 16 kB / 484.4 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.3645, allocations: 2.144 MB / 486.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.3645, allocations: 8.062 kB / 486.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.3668, allocations: 1.419 MB / 488 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.3671, allocations: 151.5 kB / 488.1 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3672, allocations: 23.98 kB / 488.1 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3677, allocations: 35.97 kB / 488.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.3678, allocations: 52.56 kB / 488.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.3679, allocations: 23.98 kB / 488.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008769/0.3688, allocations: 0.5615 MB / 488.8 MB, free: 12.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3688, allocations: 3.938 kB / 488.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001474/0.3702, allocations: 299.9 kB / 489.1 MB, free: 12.05 MB / 398.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.002816/0.3731, allocations: 2.005 MB / 491.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.375, allocations: 0.9684 MB / 492.1 MB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.375, allocations: 0 / 492.1 MB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009232/0.3759, allocations: 0.5486 MB / 492.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.3772, allocations: 225.7 kB / 492.8 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.3952, allocations: 10.2 MB / 0.4913 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.3971, allocations: 1.153 MB / 0.4924 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006082/0.3977, allocations: 203.1 kB / 0.4926 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/0.3986, allocations: 0.6438 MB / 0.4932 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3986, allocations: 4 kB / 0.4932 GB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.4625, allocations: 25.9 MB / 0.5185 GB, free: 2.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.11, allocations: 2.5 kB / 0.5185 GB, free: 2.062 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.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: 15.861417119042017]