Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09714, allocations: 49.13 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01016/0.1073, allocations: 8.074 MB / 399.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.1125, allocations: 2.677 MB / 402.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009044/0.1134, allocations: 23.94 kB / 402.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.115, allocations: 0.5754 MB / 402.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1165, allocations: 0.5002 MB / 403.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.1171, allocations: 255.7 kB / 403.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.1192, allocations: 1.467 MB / 405 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008364/0.1201, allocations: 406.7 kB / 405.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.1211, allocations: 0.5564 MB / 405.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.122, allocations: 0.5911 MB / 406.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.1223, allocations: 140 kB / 406.6 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.1228, allocations: 180 kB / 406.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.123, allocations: 286.9 kB / 407.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007163/0.1238, allocations: 0.6532 MB / 407.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.1259, allocations: 1.735 MB / 409.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1259, allocations: 4 kB / 409.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.126, allocations: 0 / 409.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.126, allocations: 3.938 kB / 409.5 MB, free: 6.531 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.0031/0.1291, allocations: 1.479 MB / 411 MB, free: 5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1291, allocations: 8.031 kB / 411 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.1293, allocations: 148.4 kB / 411.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.1301, allocations: 200 kB / 411.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.1317, allocations: 0.7422 MB / 412.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.1318, allocations: 74 kB / 412.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.1319, allocations: 96 kB / 412.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.1336, allocations: 0.9307 MB / 413.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.1337, allocations: 11.95 kB / 413.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/0.1338, allocations: 40 kB / 413.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.1338, allocations: 27.94 kB / 413.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.1351, allocations: 0.6324 MB / 413.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.1408, allocations: 3.9 MB / 417.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.1415, allocations: 416.5 kB / 418.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.1421, allocations: 257.3 kB / 418.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1421, allocations: 4.328 kB / 418.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1422, allocations: 38.89 kB / 418.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.083e-06/0.1422, allocations: 4 kB / 418.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002855/0.145, allocations: 1.421 MB / 419.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.1451, allocations: 85.05 kB / 420 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1462, allocations: 0.8215 MB / 420.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.1463, allocations: 33.7 kB / 420.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.1467, allocations: 0.5696 MB / 421.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1468, allocations: 162.6 kB / 421.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.147, allocations: 134.6 kB / 421.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1472, allocations: 337.9 kB / 422 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.1475, allocations: 165.9 kB / 422.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.1481, allocations: 464 kB / 422.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.149, allocations: 0.6546 MB / 423.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.149, allocations: 4 kB / 423.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001384/0.1504, allocations: 0.7632 MB / 424.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.1504, allocations: 12 kB / 424.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1504, allocations: 8 kB / 424.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.1507, allocations: 93.8 kB / 424.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.1512, allocations: 155.7 kB / 424.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.1539, allocations: 3.142 MB / 427.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.1545, allocations: 35.94 kB / 427.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.1546, allocations: 40.06 kB / 427.5 MB, free: 3.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004397/0.1551, allocations: 257.8 kB / 427.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1552, allocations: 87.44 kB / 427.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.1562, allocations: 495.5 kB / 428.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1562, allocations: 4 kB / 428.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1562, allocations: 0 / 428.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1562, allocations: 3.984 kB / 428.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.1586, allocations: 1.439 MB / 429.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1586, allocations: 8.219 kB / 429.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.1589, allocations: 71.89 kB / 429.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.1591, allocations: 69.67 kB / 429.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.1592, allocations: 12 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.1618, allocations: 3.126 MB / 433.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.006e-06/0.1618, allocations: 8.094 kB / 433.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1631, allocations: 0.7668 MB / 433.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.1635, allocations: 204.5 kB / 434.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1636, allocations: 12 kB / 434.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.164, allocations: 23.97 kB / 434.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1641, allocations: 31.91 kB / 434.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1642, allocations: 19.98 kB / 434.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008468/0.165, allocations: 0.5615 MB / 434.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.165, allocations: 4 kB / 434.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008976/0.1659, allocations: 204 kB / 434.9 MB, free: 11.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.1677, allocations: 1.354 MB / 436.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.169, allocations: 0.663 MB / 436.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.169, allocations: 256 / 436.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.1696, allocations: 436.9 kB / 437.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.1708, allocations: 215.7 kB / 437.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.1829, allocations: 7.337 MB / 444.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.1836, allocations: 1.008 MB / 445.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000458/0.1841, allocations: 111.2 kB / 446 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.1846, allocations: 371.3 kB / 446.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1846, allocations: 0 / 446.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.3934, allocations: 19.2 MB / 465.6 MB, free: 65.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 2 kB / 465.6 MB, free: 65.31 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.618930004071444]