Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001292/0.001292, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.001333/0.001333, allocations: 189.2 kB / 21.39 MB, free: 1.543 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.414/1.414, allocations: 207.6 MB / 231.8 MB, free: 4.195 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.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_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.001701/0.001701, allocations: 55.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09322, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009315/0.1025, allocations: 7.124 MB / 398.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004503/0.107, allocations: 2.396 MB / 400.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.1077, allocations: 19.94 kB / 400.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1091, allocations: 0.5204 MB / 401.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.1102, allocations: 409 kB / 401.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1106, allocations: 199.8 kB / 402 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.1121, allocations: 1.218 MB / 403.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.1128, allocations: 344 kB / 403.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006559/0.1134, allocations: 462.2 kB / 404 MB, free: 12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00065/0.1141, allocations: 497.7 kB / 404.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1142, allocations: 116 kB / 404.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1145, allocations: 152 kB / 404.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.1147, allocations: 231.1 kB / 405 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005617/0.1153, allocations: 0.5404 MB / 405.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.117, allocations: 1.44 MB / 407 MB, free: 9.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.117, allocations: 4 kB / 407 MB, free: 9.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.117, allocations: 0 / 407 MB, free: 9.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.1171, allocations: 0 / 407 MB, free: 9.027 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002357/0.1194, allocations: 1.285 MB / 408.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1195, allocations: 8.031 kB / 408.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.1196, allocations: 119.1 kB / 408.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/0.1201, allocations: 156.2 kB / 408.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1214, allocations: 0.6499 MB / 409.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.1214, allocations: 62.38 kB / 409.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1215, allocations: 80.12 kB / 409.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1229, allocations: 0.7793 MB / 410.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.123, allocations: 7.938 kB / 410.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.123, allocations: 32 kB / 410.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.123, allocations: 20 kB / 410.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.1241, allocations: 0.5231 MB / 410.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004651/0.1288, allocations: 3.373 MB / 414.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.1293, allocations: 214.6 kB / 414.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.1295, allocations: 104.8 kB / 414.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1295, allocations: 7.938 kB / 414.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1296, allocations: 38.56 kB / 414.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.1296, allocations: 0 / 414.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002192/0.1318, allocations: 1.059 MB / 415.5 MB, free: 96 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.1318, allocations: 81.11 kB / 415.6 MB, free: 16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.1329, allocations: 0.7426 MB / 416.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1329, allocations: 33.7 kB / 416.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.1333, allocations: 0.4996 MB / 416.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.1334, allocations: 111.1 kB / 417 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1336, allocations: 118.2 kB / 417.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1338, allocations: 382.8 kB / 417.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1341, allocations: 121.2 kB / 417.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.1346, allocations: 414.2 kB / 418 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.1355, allocations: 0.5676 MB / 418.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1355, allocations: 4 kB / 418.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001215/0.1367, allocations: 0.623 MB / 419.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1368, allocations: 11.91 kB / 419.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.1368, allocations: 8 kB / 419.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.137, allocations: 37.23 kB / 419.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1374, allocations: 143.7 kB / 419.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.1387, allocations: 1.402 MB / 420.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.1392, allocations: 27.98 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.1393, allocations: 32 kB / 420.8 MB, free: 10.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003602/0.1396, allocations: 237.5 kB / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.1398, allocations: 75.59 kB / 421.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.1404, allocations: 321.3 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.1405, allocations: 4 kB / 421.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1405, allocations: 0 / 421.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1405, allocations: 0 / 421.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.1423, allocations: 1.102 MB / 422.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1423, allocations: 0 / 422.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1425, allocations: 64.12 kB / 422.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.1426, allocations: 20.84 kB / 422.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.1427, allocations: 8 kB / 422.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1438, allocations: 1.379 MB / 424 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.1438, allocations: 7.938 kB / 424 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.1448, allocations: 0.557 MB / 424.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.145, allocations: 176.6 kB / 424.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.1451, allocations: 8 kB / 424.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.1454, allocations: 23.97 kB / 424.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1455, allocations: 23.91 kB / 424.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1455, allocations: 12 kB / 424.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.1462, allocations: 0.503 MB / 425.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1462, allocations: 0 / 425.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006783/0.1469, allocations: 160 kB / 425.5 MB, free: 5.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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,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.001372/0.1483, allocations: 1.11 MB / 426.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009352/0.1492, allocations: 447.1 kB / 427 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.1492, allocations: 5.812 kB / 427 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1496, allocations: 226.9 kB / 427.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.1506, allocations: 186.9 kB / 427.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/0.1604, allocations: 6.282 MB / 433.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.1611, allocations: 0.9487 MB / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.1614, allocations: 90.02 kB / 434.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.1618, allocations: 295.3 kB / 435 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.1618, allocations: 4 kB / 435.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05267/0.2145, allocations: 15.54 MB / 450.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.45, allocations: 7.844 kB / 450.6 MB, free: 11.61 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.087643517181277]