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.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.001447/0.001447, allocations: 112.8 kB / 21.93 MB, free: 5.223 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.001655/0.001655, allocations: 213.5 kB / 25.22 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.375/1.375, allocations: 207.7 MB / 236.1 MB, free: 9.82 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.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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001813/0.001813, allocations: 60.38 kB / 348.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2606, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007517/0.2681, allocations: 7.095 MB / 404.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.2729, allocations: 2.493 MB / 407.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.274, allocations: 27.94 kB / 407.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2756, allocations: 0.5307 MB / 407.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.277, allocations: 492.9 kB / 408.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.2776, allocations: 258.2 kB / 408.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.2793, allocations: 1.472 MB / 410 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.2799, allocations: 369.6 kB / 410.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.2807, allocations: 0.5681 MB / 410.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.2814, allocations: 0.5194 MB / 411.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.2815, allocations: 138.6 kB / 411.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.2819, allocations: 173.7 kB / 411.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.2821, allocations: 282.1 kB / 412 MB, free: 384 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.2826, allocations: 0.5387 MB / 412.5 MB, free: 80 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.2847, allocations: 1.733 MB / 414.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2847, allocations: 1.469 kB / 414.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2847, allocations: 0 / 414.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.2847, allocations: 0 / 414.3 MB, free: 14.82 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.002787/0.2875, allocations: 1.421 MB / 415.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2875, allocations: 17.52 kB / 415.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/0.2882, allocations: 191.2 kB / 415.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.2897, allocations: 0.6804 MB / 416.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.2897, allocations: 73.84 kB / 416.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.2899, allocations: 98.73 kB / 416.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.2916, allocations: 1.033 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/0.2917, allocations: 10.09 kB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.2918, allocations: 41.16 kB / 417.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.2918, allocations: 23.88 kB / 417.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2931, allocations: 0.6366 MB / 418.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005738/0.2988, allocations: 3.345 MB / 421.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.2996, allocations: 336.4 kB / 422.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.3002, allocations: 247.5 kB / 422.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.3002, allocations: 4.078 kB / 422.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3002, allocations: 42.39 kB / 422.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.3002, allocations: 0 / 422.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002982/0.3032, allocations: 1.252 MB / 423.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.3033, allocations: 82.11 kB / 423.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.3044, allocations: 0.7535 MB / 424.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.3044, allocations: 36.17 kB / 424.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.3049, allocations: 0.577 MB / 425.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.305, allocations: 174.5 kB / 425.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3052, allocations: 128.5 kB / 425.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3054, allocations: 388 kB / 425.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.3057, allocations: 175.2 kB / 426 MB, free: 6.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.3063, allocations: 490.9 kB / 426.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009958/0.3073, allocations: 0.6546 MB / 427.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3073, allocations: 0 / 427.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001425/0.3087, allocations: 0.7596 MB / 427.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3088, allocations: 8 kB / 427.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3088, allocations: 12 kB / 427.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.3091, allocations: 85.86 kB / 428 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.3096, allocations: 155.8 kB / 428.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.3122, allocations: 2.878 MB / 431 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.313, allocations: 35.92 kB / 431.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.313, allocations: 32 kB / 431.1 MB, free: 0.7539 MB / 334.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.0004587/0.3135, allocations: 261.9 kB / 431.3 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3136, allocations: 87.42 kB / 431.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009751/0.3146, allocations: 482.7 kB / 431.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3146, allocations: 7.938 kB / 431.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3146, allocations: 4 kB / 431.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3146, allocations: 3.984 kB / 431.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.3168, allocations: 1.201 MB / 433.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3168, allocations: 3.984 kB / 433.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3171, allocations: 72.12 kB / 433.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.3174, allocations: 73.67 kB / 433.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.3174, allocations: 8 kB / 433.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.3199, allocations: 2.858 MB / 436.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3199, allocations: 128 / 436.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3214, allocations: 0.7712 MB / 436.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.3217, allocations: 115.5 kB / 437 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.3218, allocations: 11.98 kB / 437 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.3223, allocations: 27.98 kB / 437 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.3224, allocations: 43.56 kB / 437.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.3224, allocations: 16.14 kB / 437.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000783/0.3232, allocations: 0.5069 MB / 437.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3232, allocations: 0 / 437.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009792/0.3241, allocations: 200 kB / 437.8 MB, free: 9.688 MB / 350.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.0002436/0.3244, allocations: 131 kB / 437.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3257, allocations: 0.663 MB / 438.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3257, allocations: 4 kB / 438.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.3264, allocations: 425.7 kB / 439 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3276, allocations: 205.1 kB / 439.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.3311, allocations: 1.762 MB / 441 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.3316, allocations: 421.6 kB / 441.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.3318, allocations: 55.44 kB / 441.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3318, allocations: 0 / 441.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.03036/0.3622, allocations: 20.98 MB / 462.4 MB, free: 0.875 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.916284584905952]