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.001447/0.001447, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001566/0.001566, allocations: 192 kB / 18.66 MB, free: 4.441 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.245/1.245, 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.001206/0.001206, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07793/0.07914, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.1692/0.2484, allocations: 8.035 MB / 382.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.2522, allocations: 2.679 MB / 385.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.2527, allocations: 24.38 kB / 385.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.254, allocations: 0.5561 MB / 385.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.255, allocations: 467.3 kB / 386.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.2554, allocations: 250 kB / 386.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.2566, allocations: 1.478 MB / 388.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000675/0.2573, allocations: 0.5828 MB / 388.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.2579, allocations: 0.5546 MB / 389.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.2585, allocations: 0.5896 MB / 389.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2587, allocations: 137.6 kB / 390 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.259, allocations: 183.4 kB / 390.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2592, allocations: 278.1 kB / 390.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.2596, allocations: 0.6631 MB / 391.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.2611, allocations: 1.718 MB / 392.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2612, allocations: 1.062 kB / 392.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2612, allocations: 0 / 392.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.2612, allocations: 4.516 kB / 392.8 MB, free: 4.07 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.001981/0.2632, allocations: 1.45 MB / 394.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2632, allocations: 9.938 kB / 394.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.2634, allocations: 152.6 kB / 394.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.264, allocations: 190.6 kB / 394.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/0.265, allocations: 0.7437 MB / 395.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.265, allocations: 68.44 kB / 395.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2652, allocations: 105.6 kB / 395.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.2666, allocations: 0.9326 MB / 396.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2666, allocations: 2.969 kB / 396.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.2667, allocations: 46.38 kB / 396.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.2667, allocations: 24.56 kB / 396.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2678, allocations: 0.6354 MB / 397.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.2721, allocations: 3.879 MB / 401 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.2728, allocations: 436.7 kB / 401.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.2734, allocations: 271.5 kB / 401.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2734, allocations: 4.453 kB / 401.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2735, allocations: 37.64 kB / 401.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.2735, allocations: 5.312 kB / 401.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002534/0.276, allocations: 1.398 MB / 403.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.2761, allocations: 91.34 kB / 403.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2771, allocations: 0.8263 MB / 404.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.2772, allocations: 32.61 kB / 404.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.2775, allocations: 0.5513 MB / 404.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2776, allocations: 157.5 kB / 404.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2778, allocations: 132.7 kB / 405 MB, free: 12.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2779, allocations: 332.5 kB / 405.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.2782, allocations: 167.8 kB / 405.5 MB, free: 12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.2788, allocations: 462.8 kB / 405.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.2796, allocations: 0.6575 MB / 406.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2796, allocations: 3.344 kB / 406.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00125/0.2809, allocations: 0.7655 MB / 407.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2809, allocations: 8.875 kB / 407.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2809, allocations: 10.5 kB / 407.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.2812, allocations: 89.73 kB / 407.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.2817, allocations: 157.7 kB / 407.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.284, allocations: 3.138 MB / 410.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.2846, allocations: 36.8 kB / 410.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.2846, allocations: 31.31 kB / 410.8 MB, free: 7.246 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.0003707/0.285, allocations: 267.9 kB / 411.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.2851, allocations: 88.12 kB / 411.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008803/0.286, allocations: 0.4924 MB / 411.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.286, allocations: 5.125 kB / 411.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2861, allocations: 9.109 kB / 411.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2861, allocations: 0 / 411.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.288, allocations: 1.433 MB / 413.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2881, allocations: 2.25 kB / 413.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.2884, allocations: 65.59 kB / 413.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.2886, allocations: 76.42 kB / 413.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.2886, allocations: 8.438 kB / 413.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.2908, allocations: 3.13 MB / 416.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2908, allocations: 6.906 kB / 416.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.292, allocations: 0.7617 MB / 417.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.2923, allocations: 197.9 kB / 417.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2924, allocations: 20.61 kB / 417.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.2928, allocations: 25.45 kB / 417.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.2929, allocations: 35.73 kB / 417.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.2929, allocations: 13.41 kB / 417.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.2937, allocations: 0.5672 MB / 418 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2937, allocations: 0 / 418 MB, free: 1.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009244/0.2946, allocations: 206.6 kB / 418.2 MB, free: 1.27 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.00164/0.2963, allocations: 1.343 MB / 419.5 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.2976, allocations: 0.6831 MB / 420.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2976, allocations: 1.281 kB / 420.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006523/0.2983, allocations: 451.2 kB / 420.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.2993, allocations: 222.5 kB / 420.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3094, allocations: 7.289 MB / 428.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.3101, allocations: 1.012 MB / 429.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000416/0.3105, allocations: 103.2 kB / 429.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.3109, allocations: 375.3 kB / 429.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3109, allocations: 0 / 429.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.3573, allocations: 19.32 MB / 449 MB, free: 3.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.05, allocations: 11.95 kB / 449 MB, free: 3.465 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