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.001794/0.001793, allocations: 114.4 kB / 17.72 MB, free: 5.434 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.002084/0.002084, allocations: 183.1 kB / 18.65 MB, free: 4.504 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.357/1.357, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001645/0.001645, allocations: 56.2 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08649, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.1696/0.2561, allocations: 8.03 MB / 382.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.2605, allocations: 2.672 MB / 385.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.2613, allocations: 24.47 kB / 385.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.2629, allocations: 0.5639 MB / 385.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.2644, allocations: 464.8 kB / 386.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.265, allocations: 254.4 kB / 386.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2669, allocations: 1.467 MB / 388.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.2678, allocations: 0.5804 MB / 388.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000869/0.2686, allocations: 0.5534 MB / 389.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006985/0.2694, allocations: 0.5951 MB / 389.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.2696, allocations: 138.7 kB / 390 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.27, allocations: 175.2 kB / 390.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.2702, allocations: 281.9 kB / 390.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.271, allocations: 0.6623 MB / 391.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.2735, allocations: 1.729 MB / 392.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2735, allocations: 0 / 392.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2736, allocations: 1.531 kB / 392.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.2736, allocations: 4.844 kB / 392.8 MB, free: 4.172 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.002545/0.2762, allocations: 1.482 MB / 394.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2762, allocations: 10.09 kB / 394.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.2764, allocations: 156.4 kB / 394.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.2771, allocations: 199.6 kB / 394.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.2785, allocations: 0.7425 MB / 395.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.2785, allocations: 78.08 kB / 395.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.2787, allocations: 97.08 kB / 395.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2802, allocations: 0.9331 MB / 396.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.2802, allocations: 10.98 kB / 396.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.2803, allocations: 41.52 kB / 396.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2803, allocations: 24.44 kB / 396.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2815, allocations: 0.6341 MB / 397.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.2864, allocations: 3.884 MB / 401.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.2871, allocations: 443.8 kB / 401.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.2877, allocations: 272.6 kB / 401.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.2878, allocations: 4.266 kB / 401.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.2878, allocations: 38.78 kB / 401.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.355e-06/0.2878, allocations: 0 / 401.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002923/0.2908, allocations: 1.421 MB / 403.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.2908, allocations: 87.91 kB / 403.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.292, allocations: 0.8285 MB / 404.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.2921, allocations: 35.95 kB / 404.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.2925, allocations: 0.5642 MB / 404.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2927, allocations: 162.9 kB / 404.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.2928, allocations: 132.9 kB / 405.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.293, allocations: 332.5 kB / 405.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2933, allocations: 166.9 kB / 405.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.2939, allocations: 460.4 kB / 406 MB, free: 11.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009533/0.2949, allocations: 0.6606 MB / 406.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/0.2949, allocations: 6.453 kB / 406.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001413/0.2963, allocations: 0.7739 MB / 407.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.2963, allocations: 9.562 kB / 407.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2964, allocations: 9.656 kB / 407.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.2966, allocations: 82.69 kB / 407.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.2971, allocations: 156.7 kB / 407.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.2998, allocations: 3.145 MB / 410.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.3005, allocations: 37.22 kB / 410.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.3005, allocations: 35.94 kB / 410.9 MB, free: 7.223 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.0004355/0.301, allocations: 268.4 kB / 411.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3011, allocations: 92.83 kB / 411.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009502/0.3021, allocations: 495.5 kB / 411.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3021, allocations: 8.375 kB / 411.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3021, allocations: 2.406 kB / 411.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3021, allocations: 0 / 411.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.3043, allocations: 1.428 MB / 413.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3043, allocations: 2.281 kB / 413.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.3046, allocations: 65.69 kB / 413.2 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.3048, allocations: 80.17 kB / 413.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3048, allocations: 8.812 kB / 413.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.3073, allocations: 3.131 MB / 416.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3073, allocations: 6.328 kB / 416.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.3085, allocations: 0.7668 MB / 417.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.3089, allocations: 205.1 kB / 417.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.309, allocations: 12.38 kB / 417.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.3094, allocations: 26.48 kB / 417.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.3095, allocations: 39.05 kB / 417.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.3095, allocations: 13.84 kB / 417.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007759/0.3103, allocations: 0.5669 MB / 418.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3103, allocations: 0 / 418.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008176/0.3111, allocations: 202.4 kB / 418.3 MB, free: 1.25 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.001557/0.3127, allocations: 1.354 MB / 419.6 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.3139, allocations: 0.6805 MB / 420.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3139, allocations: 1.594 kB / 420.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.3146, allocations: 449.6 kB / 420.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3156, allocations: 225 kB / 421 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.3267, allocations: 7.326 MB / 428.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.3274, allocations: 1.012 MB / 429.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004616/0.3279, allocations: 99.27 kB / 429.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.3284, allocations: 375.3 kB / 429.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3284, allocations: 0 / 429.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05843/0.3868, allocations: 19.07 MB / 448.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 7.891 kB / 448.9 MB, free: 3.652 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