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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 82.72 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 161.4 kB / 25.25 MB, free: 3.027 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.299/1.299, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.92 kB / 299.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2103, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00918/0.2194, allocations: 6.29 MB / 354.8 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.2237, allocations: 2.229 MB / 357.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.2243, allocations: 23.94 kB / 357.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.2256, allocations: 475.8 kB / 357.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008979/0.2265, allocations: 409 kB / 357.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2269, allocations: 203.8 kB / 358.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2283, allocations: 1.21 MB / 359.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.2288, allocations: 312.5 kB / 359.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.2295, allocations: 478.1 kB / 360.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.2301, allocations: 429.8 kB / 360.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.2302, allocations: 112 kB / 360.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.2305, allocations: 152 kB / 360.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2307, allocations: 231.1 kB / 361 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.2312, allocations: 454 kB / 361.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.2328, allocations: 1.447 MB / 362.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2328, allocations: 4 kB / 362.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2328, allocations: 0 / 362.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.2329, allocations: 0 / 362.9 MB, free: 1.031 MB / 318.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.002141/0.235, allocations: 1.202 MB / 364.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.235, allocations: 11.98 kB / 364.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.2355, allocations: 148.2 kB / 364.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2367, allocations: 0.5882 MB / 364.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.2367, allocations: 58.38 kB / 364.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.2368, allocations: 80.38 kB / 365 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2383, allocations: 0.8256 MB / 365.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2383, allocations: 15.83 kB / 365.8 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.2384, allocations: 40 kB / 365.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.2384, allocations: 16 kB / 365.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2395, allocations: 0.5114 MB / 366.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004181/0.2437, allocations: 2.92 MB / 369.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.2442, allocations: 222.5 kB / 369.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.2445, allocations: 108.8 kB / 369.7 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2445, allocations: 4 kB / 369.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2445, allocations: 38.56 kB / 369.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.2445, allocations: 0 / 369.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002087/0.2466, allocations: 0.8972 MB / 370.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.2467, allocations: 85.09 kB / 370.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/0.2476, allocations: 0.6797 MB / 371.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2476, allocations: 29.7 kB / 371.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.248, allocations: 0.5149 MB / 371.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.2481, allocations: 103.1 kB / 372 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.2483, allocations: 114.2 kB / 372.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2485, allocations: 370.8 kB / 372.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.2488, allocations: 133.2 kB / 372.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.2493, allocations: 439.9 kB / 373 MB, free: 6.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.2502, allocations: 0.5716 MB / 373.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2502, allocations: 8 kB / 373.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001175/0.2514, allocations: 0.6115 MB / 374.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2514, allocations: 8 kB / 374.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2514, allocations: 11.98 kB / 374.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.2516, allocations: 36.84 kB / 374.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.2521, allocations: 139.8 kB / 374.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.2533, allocations: 1.264 MB / 375.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.2538, allocations: 35.88 kB / 375.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.2538, allocations: 35.94 kB / 375.7 MB, free: 3.41 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.0003608/0.2542, allocations: 237.8 kB / 376 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2543, allocations: 67.58 kB / 376 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007142/0.255, allocations: 321.2 kB / 376.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.255, allocations: 4 kB / 376.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.255, allocations: 3.938 kB / 376.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.255, allocations: 0 / 376.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.2567, allocations: 0.9068 MB / 377.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.2567, allocations: 4 kB / 377.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.257, allocations: 59.91 kB / 377.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-05/0.2571, allocations: 20.84 kB / 377.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2571, allocations: 8 kB / 377.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.2582, allocations: 1.249 MB / 378.6 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.2582, allocations: 7.938 kB / 378.6 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2592, allocations: 0.5455 MB / 379.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.2595, allocations: 99.47 kB / 379.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.2596, allocations: 8 kB / 379.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.2599, allocations: 28.06 kB / 379.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.26, allocations: 23.91 kB / 379.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.26, allocations: 8 kB / 379.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007052/0.2607, allocations: 463 kB / 379.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2607, allocations: 0 / 379.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007133/0.2614, allocations: 156 kB / 379.9 MB, free: 14.99 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.0002075/0.2616, allocations: 119.2 kB / 380.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.2626, allocations: 443.6 kB / 380.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2626, allocations: 0 / 380.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.263, allocations: 239.9 kB / 380.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.2639, allocations: 162.9 kB / 380.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.2665, allocations: 1.439 MB / 382.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.2669, allocations: 348.5 kB / 382.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.2672, allocations: 81.48 kB / 382.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2673, allocations: 44.5 kB / 382.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2673, allocations: 0 / 382.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01791/0.2852, allocations: 8.017 MB / 390.8 MB, free: 4.004 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 -s ida -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/jenkins1/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/jenkins1/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: 4.681125647970475]