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.001571/0.001571, allocations: 103.1 kB / 19.75 MB, free: 2.656 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.001513/0.001513, allocations: 188.9 kB / 22.93 MB, free: 5.484 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.728/1.728, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [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.001752/0.001752, allocations: 58.53 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3651, allocations: 49.12 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01099/0.376, allocations: 7.161 MB / 401.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.3814, allocations: 2.398 MB / 404.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.3828, allocations: 20.5 kB / 404.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.3846, allocations: 0.522 MB / 404.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.3863, allocations: 407.2 kB / 405 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3868, allocations: 199.6 kB / 405.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3883, allocations: 1.206 MB / 406.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005888/0.3889, allocations: 347 kB / 406.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.3896, allocations: 457.6 kB / 407.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.3901, allocations: 0.4913 MB / 407.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.3903, allocations: 112.8 kB / 407.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.3906, allocations: 154.2 kB / 408 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3908, allocations: 228.9 kB / 408.2 MB, free: 356 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.3912, allocations: 0.5448 MB / 408.7 MB, free: 0 / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.3934, allocations: 1.439 MB / 410.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3934, allocations: 0 / 410.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3934, allocations: 0 / 410.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.3934, allocations: 0 / 410.2 MB, free: 15.35 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.002459/0.3959, allocations: 1.277 MB / 411.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.3959, allocations: 12.27 kB / 411.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.3965, allocations: 154.2 kB / 411.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3978, allocations: 0.6543 MB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.3978, allocations: 58.16 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.398, allocations: 80.53 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3995, allocations: 0.7793 MB / 413.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3996, allocations: 6.859 kB / 413.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.3996, allocations: 38.42 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3997, allocations: 20 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4008, allocations: 0.5191 MB / 413.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.4059, allocations: 3.385 MB / 417.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.4065, allocations: 218.5 kB / 417.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.4067, allocations: 110.1 kB / 417.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.4068, allocations: 7.188 kB / 417.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.4068, allocations: 36.73 kB / 417.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.4068, allocations: 3.938 kB / 417.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002512/0.4093, allocations: 1.055 MB / 418.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.4094, allocations: 79.61 kB / 418.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4105, allocations: 0.737 MB / 419.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.4106, allocations: 30.8 kB / 419.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.411, allocations: 0.5081 MB / 419.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.4111, allocations: 109.7 kB / 420 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.4113, allocations: 113.7 kB / 420.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.4115, allocations: 380.9 kB / 420.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.4118, allocations: 123.9 kB / 420.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.4124, allocations: 415.5 kB / 421 MB, free: 6.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.4133, allocations: 0.5732 MB / 421.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4133, allocations: 3.406 kB / 421.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001171/0.4145, allocations: 0.6087 MB / 422.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.4145, allocations: 18.33 kB / 422.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4145, allocations: 9.625 kB / 422.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.4147, allocations: 34.86 kB / 422.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.4151, allocations: 141.8 kB / 422.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.4164, allocations: 1.396 MB / 423.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.4169, allocations: 30.48 kB / 423.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.417, allocations: 32.38 kB / 423.9 MB, free: 4.461 MB / 334.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.0004474/0.4174, allocations: 237.4 kB / 424.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4176, allocations: 73.16 kB / 424.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.4182, allocations: 326.4 kB / 424.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4183, allocations: 3.5 kB / 424.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.4183, allocations: 0 / 424.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4183, allocations: 1.156 kB / 424.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.4202, allocations: 1.097 MB / 425.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4202, allocations: 1.25 kB / 425.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.4204, allocations: 64.55 kB / 425.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.449e-05/0.4205, allocations: 23.92 kB / 425.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.4206, allocations: 8 kB / 425.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.4218, allocations: 1.373 MB / 427.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.4218, allocations: 6.562 kB / 427.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4229, allocations: 0.5617 MB / 427.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.4231, allocations: 178.1 kB / 427.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.4232, allocations: 7.5 kB / 427.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.4235, allocations: 22.75 kB / 427.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.4236, allocations: 26.33 kB / 427.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4236, allocations: 15.33 kB / 427.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.4244, allocations: 0.5048 MB / 428.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4244, allocations: 0 / 428.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007958/0.4252, allocations: 156 kB / 428.5 MB, free: 0.5938 MB / 334.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.0002492/0.4255, allocations: 131.1 kB / 428.7 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009578/0.4264, allocations: 440.5 kB / 429.1 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4264, allocations: 0 / 429.1 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.4269, allocations: 235.9 kB / 429.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009076/0.4278, allocations: 186.8 kB / 429.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.4304, allocations: 1.441 MB / 431 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.4311, allocations: 0.9487 MB / 431.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.4314, allocations: 90.02 kB / 432 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4315, allocations: 47.44 kB / 432 MB, free: 12.98 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4315, allocations: 0 / 432 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Templates: time 0.02004/0.4516, allocations: 8.513 MB / 440.5 MB, free: 4.453 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.298377792350948]