Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001194/0.001194, allocations: 116 kB / 18.45 MB, free: 4.625 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.001318/0.001318, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.432/1.432, allocations: 207.6 MB / 231.8 MB, free: 4.219 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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.00172/0.00172, allocations: 55.91 kB / 342.3 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08762, allocations: 49.12 MB / 391.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009213/0.09683, allocations: 7.965 MB / 399.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.1011, allocations: 2.646 MB / 402 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/0.1018, allocations: 27.94 kB / 402 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.1031, allocations: 0.5715 MB / 402.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1041, allocations: 488.4 kB / 403.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.1046, allocations: 243.7 kB / 403.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1061, allocations: 1.432 MB / 404.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006229/0.1067, allocations: 406.8 kB / 405.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006481/0.1073, allocations: 0.5408 MB / 405.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.108, allocations: 0.5872 MB / 406.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.1081, allocations: 139.9 kB / 406.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.1084, allocations: 172 kB / 406.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.1087, allocations: 275 kB / 406.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005824/0.1092, allocations: 0.6492 MB / 407.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1111, allocations: 1.708 MB / 409.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1111, allocations: 0 / 409.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1111, allocations: 4 kB / 409.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.1111, allocations: 0 / 409.2 MB, free: 6.852 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002353/0.1134, allocations: 1.455 MB / 410.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1135, allocations: 11.97 kB / 410.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.1137, allocations: 152.3 kB / 410.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.1142, allocations: 180 kB / 411 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1154, allocations: 0.7266 MB / 411.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.1155, allocations: 74 kB / 411.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1156, allocations: 99.95 kB / 411.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1171, allocations: 0.9307 MB / 412.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.1172, allocations: 0 / 412.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.1173, allocations: 40 kB / 412.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.1173, allocations: 28 kB / 412.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1185, allocations: 0.6207 MB / 413.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/0.1235, allocations: 3.879 MB / 417.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.1241, allocations: 343.6 kB / 417.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.1244, allocations: 144.7 kB / 417.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1244, allocations: 4 kB / 417.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1244, allocations: 38.5 kB / 417.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.1244, allocations: 0 / 417.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002241/0.1267, allocations: 1.207 MB / 419.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.1267, allocations: 85.09 kB / 419.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.1278, allocations: 0.8253 MB / 420 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1279, allocations: 29.7 kB / 420 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.1283, allocations: 0.5851 MB / 420.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.787e-05/0.1284, allocations: 126.9 kB / 420.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.1286, allocations: 134.5 kB / 420.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1287, allocations: 337.9 kB / 421.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.129, allocations: 145.9 kB / 421.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.1296, allocations: 463.9 kB / 421.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.1304, allocations: 0.6284 MB / 422.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1304, allocations: 4 kB / 422.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001138/0.1316, allocations: 0.6887 MB / 423.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1316, allocations: 11.94 kB / 423.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.1316, allocations: 12 kB / 423.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.1318, allocations: 32.84 kB / 423.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.1322, allocations: 159.7 kB / 423.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1334, allocations: 1.394 MB / 424.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.1339, allocations: 48.03 kB / 424.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.1339, allocations: 32 kB / 424.8 MB, free: 6.258 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0003809/0.1343, allocations: 253.5 kB / 425.1 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1344, allocations: 91.42 kB / 425.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/0.1352, allocations: 378.5 kB / 425.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1352, allocations: 4 kB / 425.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1352, allocations: 0 / 425.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1352, allocations: 0 / 425.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.137, allocations: 1.274 MB / 426.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.137, allocations: 3.938 kB / 426.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.1373, allocations: 71.89 kB / 426.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.419e-05/0.1374, allocations: 25.08 kB / 426.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.1374, allocations: 11.98 kB / 426.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.1385, allocations: 1.367 MB / 428.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1385, allocations: 7.938 kB / 428.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/0.1394, allocations: 0.6322 MB / 428.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.1397, allocations: 192.5 kB / 429.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.1398, allocations: 19.98 kB / 429.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.1401, allocations: 23.92 kB / 429.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.1402, allocations: 23.97 kB / 429.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1402, allocations: 16 kB / 429.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007397/0.1409, allocations: 0.5576 MB / 429.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1409, allocations: 0 / 429.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000678/0.1416, allocations: 192 kB / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001366/0.143, allocations: 1.2 MB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009558/0.1439, allocations: 0.4922 MB / 431.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.144, allocations: 4 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.1444, allocations: 256 kB / 431.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009225/0.1453, allocations: 207.5 kB / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/0.1551, allocations: 7.122 MB / 439.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.1557, allocations: 1 MB / 440.2 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003642/0.1561, allocations: 102.9 kB / 440.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.1565, allocations: 367.3 kB / 440.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of SimCode: time 1.143e-06/0.1565, allocations: 4 kB / 440.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05058/0.2071, allocations: 18.02 MB / 458.7 MB, free: 3.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.43, allocations: 23.92 kB / 458.7 MB, free: 3.41 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.330848805140704]