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.001629/0.001629, allocations: 114.7 kB / 19.17 MB, free: 3.891 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.001826/0.001826, allocations: 203.8 kB / 22.11 MB, free: 0.9531 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.416/1.416, allocations: 207.6 MB / 232.5 MB, free: 11.5 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="cs",version="2.0",platforms={"static"}) [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.00168/0.00168, allocations: 51.92 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2669, allocations: 49.13 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00889/0.2758, allocations: 8.061 MB / 400.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.2809, allocations: 2.688 MB / 402.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.2819, allocations: 28.16 kB / 402.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.2835, allocations: 0.5757 MB / 403.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2847, allocations: 0.489 MB / 404 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.2852, allocations: 253.2 kB / 404.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.2871, allocations: 1.481 MB / 405.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.2878, allocations: 394.7 kB / 406.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008014/0.2886, allocations: 0.5714 MB / 406.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007799/0.2894, allocations: 0.5935 MB / 407.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.2896, allocations: 138.2 kB / 407.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.2899, allocations: 179.5 kB / 407.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.2902, allocations: 286.2 kB / 407.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006539/0.2908, allocations: 0.6627 MB / 408.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.293, allocations: 1.73 MB / 410.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.293, allocations: 3.984 kB / 410.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.293, allocations: 1.438 kB / 410.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.293, allocations: 0 / 410.2 MB, free: 13.09 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.002609/0.2957, allocations: 1.48 MB / 411.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2957, allocations: 10.12 kB / 411.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.185e-05/0.2957, allocations: 29.41 kB / 411.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.2959, allocations: 151.7 kB / 411.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.2966, allocations: 195.6 kB / 412.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.2978, allocations: 0.7507 MB / 412.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.2979, allocations: 77.66 kB / 412.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.298, allocations: 99.27 kB / 413 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.2996, allocations: 0.9268 MB / 413.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.2997, allocations: 14.11 kB / 414 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.589e-05/0.2998, allocations: 37.34 kB / 414 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.2998, allocations: 27.98 kB / 414 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.301, allocations: 0.6338 MB / 414.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.3064, allocations: 3.889 MB / 418.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.3071, allocations: 414.2 kB / 419 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.3077, allocations: 258.9 kB / 419.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3078, allocations: 8.359 kB / 419.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3078, allocations: 41.58 kB / 419.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.3078, allocations: 0 / 419.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002804/0.3106, allocations: 1.415 MB / 420.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.3107, allocations: 87.03 kB / 420.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3118, allocations: 0.8261 MB / 421.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.3118, allocations: 31.02 kB / 421.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.3122, allocations: 0.5765 MB / 422.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3124, allocations: 159.2 kB / 422.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3126, allocations: 128.1 kB / 422.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3127, allocations: 332.8 kB / 422.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3131, allocations: 163.2 kB / 423 MB, free: 3.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.3136, allocations: 459.5 kB / 423.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009579/0.3146, allocations: 0.673 MB / 424.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3146, allocations: 10.41 kB / 424.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001363/0.316, allocations: 0.7643 MB / 424.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.316, allocations: 8.875 kB / 424.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.316, allocations: 14.38 kB / 424.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.3163, allocations: 83.44 kB / 425 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3168, allocations: 152.4 kB / 425.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.3196, allocations: 3.146 MB / 428.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.3201, allocations: 36.56 kB / 428.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3202, allocations: 31.44 kB / 428.3 MB, free: 14.86 MB / 350.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.0003957/0.3206, allocations: 264.4 kB / 428.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.3207, allocations: 96.34 kB / 428.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.3217, allocations: 0.4901 MB / 429.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3217, allocations: 4 kB / 429.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3217, allocations: 0 / 429.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3217, allocations: 0 / 429.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.3239, allocations: 1.431 MB / 430.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3239, allocations: 4 kB / 430.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.3242, allocations: 67.91 kB / 430.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/0.3244, allocations: 81.83 kB / 430.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.3245, allocations: 12 kB / 430.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.327, allocations: 3.134 MB / 433.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.327, allocations: 4 kB / 433.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.3282, allocations: 0.759 MB / 434.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.3285, allocations: 208.5 kB / 434.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.3286, allocations: 12 kB / 434.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.329, allocations: 19.98 kB / 434.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.3291, allocations: 39.95 kB / 434.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.3291, allocations: 16 kB / 434.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007772/0.3299, allocations: 0.5576 MB / 435.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 435.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008929/0.3308, allocations: 208 kB / 435.7 MB, free: 7.176 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.001674/0.3325, allocations: 1.347 MB / 437 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3337, allocations: 0.6583 MB / 437.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3337, allocations: 4 kB / 437.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.3343, allocations: 434.3 kB / 438.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3354, allocations: 235.3 kB / 438.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.3457, allocations: 7.333 MB / 445.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.3463, allocations: 1.005 MB / 446.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.3467, allocations: 99.27 kB / 446.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.3472, allocations: 371.3 kB / 447.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3472, allocations: 4 kB / 447.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.3997, allocations: 19.26 MB / 466.4 MB, free: 7.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 7.969 kB / 466.4 MB, free: 7.785 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.4174863990047]