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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 110.5 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 183 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB 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.001305/0.001305, allocations: 51.94 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.0795, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.1756/0.2551, allocations: 8.04 MB / 382.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.259, allocations: 2.676 MB / 385.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006706/0.2597, allocations: 24.16 kB / 385.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.2611, allocations: 0.5636 MB / 385.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009807/0.2621, allocations: 466.7 kB / 386.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.2626, allocations: 243.5 kB / 386.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.2638, allocations: 1.479 MB / 388.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.2646, allocations: 0.5761 MB / 388.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.2652, allocations: 0.5539 MB / 389.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.2659, allocations: 0.5983 MB / 389.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.266, allocations: 137.8 kB / 390 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.2664, allocations: 179.4 kB / 390.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2666, allocations: 282.5 kB / 390.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.2671, allocations: 0.6631 MB / 391.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.2689, allocations: 1.718 MB / 392.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2689, allocations: 1.844 kB / 392.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2689, allocations: 0 / 392.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.269, allocations: 0 / 392.8 MB, free: 4.168 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00238/0.2714, allocations: 1.454 MB / 394.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2714, allocations: 9.438 kB / 394.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.2716, allocations: 151.5 kB / 394.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.2723, allocations: 186.2 kB / 394.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.2735, allocations: 0.7444 MB / 395.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.2736, allocations: 74.81 kB / 395.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.2737, allocations: 100.6 kB / 395.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.2753, allocations: 0.9333 MB / 396.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.2753, allocations: 1.734 kB / 396.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.2754, allocations: 42.27 kB / 396.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.2754, allocations: 24.28 kB / 396.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2766, allocations: 0.6345 MB / 397.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.2812, allocations: 3.886 MB / 401 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.2819, allocations: 435.4 kB / 401.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.2825, allocations: 276.6 kB / 401.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2825, allocations: 4.797 kB / 401.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.2825, allocations: 44.59 kB / 401.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.644e-06/0.2826, allocations: 0 / 401.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002594/0.2852, allocations: 1.393 MB / 403.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.2852, allocations: 83.11 kB / 403.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2863, allocations: 0.8337 MB / 404.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2864, allocations: 39.92 kB / 404.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.2867, allocations: 0.5478 MB / 404.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2869, allocations: 162.1 kB / 404.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.287, allocations: 128.8 kB / 405 MB, free: 12.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2872, allocations: 331.7 kB / 405.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.2875, allocations: 164.5 kB / 405.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.288, allocations: 466.6 kB / 405.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.2889, allocations: 0.657 MB / 406.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2889, allocations: 3.469 kB / 406.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00126/0.2902, allocations: 0.7699 MB / 407.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2902, allocations: 12.59 kB / 407.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.2902, allocations: 10.06 kB / 407.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.2905, allocations: 82.44 kB / 407.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.2909, allocations: 156.7 kB / 407.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.2933, allocations: 3.138 MB / 410.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.2939, allocations: 37.23 kB / 410.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.2939, allocations: 30.78 kB / 410.8 MB, free: 7.328 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.0003638/0.2943, allocations: 272.1 kB / 411.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.2944, allocations: 88.25 kB / 411.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008821/0.2953, allocations: 496.3 kB / 411.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2953, allocations: 4.031 kB / 411.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2953, allocations: 6.594 kB / 411.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2953, allocations: 0 / 411.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.2974, allocations: 1.436 MB / 413.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2974, allocations: 1.344 kB / 413.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.2977, allocations: 70 kB / 413.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.2979, allocations: 73.17 kB / 413.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.2979, allocations: 12.56 kB / 413.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.3001, allocations: 3.122 MB / 416.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3001, allocations: 1.312 kB / 416.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3013, allocations: 0.7621 MB / 417.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.3016, allocations: 205.4 kB / 417.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/0.3017, allocations: 9.406 kB / 417.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.3021, allocations: 29.8 kB / 417.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.3021, allocations: 38.48 kB / 417.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.3022, allocations: 14.72 kB / 417.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007028/0.3029, allocations: 0.5632 MB / 418 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3029, allocations: 0 / 418 MB, free: 1.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007775/0.3037, allocations: 206.7 kB / 418.2 MB, free: 1.363 MB / 334.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.00148/0.3052, allocations: 1.353 MB / 419.5 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.3062, allocations: 0.6845 MB / 420.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3063, allocations: 1.812 kB / 420.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.3069, allocations: 446.4 kB / 420.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3079, allocations: 230.4 kB / 420.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.3183, allocations: 7.284 MB / 428.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.3192, allocations: 1.008 MB / 429.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005667/0.3198, allocations: 103.3 kB / 429.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.3203, allocations: 375.3 kB / 429.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3203, allocations: 0 / 429.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.3654, allocations: 19.35 MB / 449 MB, free: 3.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 3.938 kB / 449 MB, free: 3.539 MB / 366.1 MB (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 --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) 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) Reference file matches