Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_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.001315/0.001315, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001351/0.001351, allocations: 183 kB / 18.66 MB, free: 4.418 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.287/1.287, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.0012/0.0012, allocations: 47.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08084, allocations: 46.63 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1709/0.2518, allocations: 7.078 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.255, allocations: 2.384 MB / 384.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000555/0.2556, allocations: 23.56 kB / 384.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.2569, allocations: 0.4939 MB / 384.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008389/0.2578, allocations: 378.4 kB / 385 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.2582, allocations: 204.3 kB / 385.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.2592, allocations: 1.208 MB / 386.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.2598, allocations: 0.4979 MB / 386.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.2604, allocations: 467.5 kB / 387.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.2609, allocations: 0.4913 MB / 387.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.261, allocations: 113.8 kB / 388 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.2614, allocations: 149.6 kB / 388.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2615, allocations: 225.5 kB / 388.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.2619, allocations: 0.5403 MB / 388.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.2635, allocations: 1.444 MB / 390.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2635, allocations: 0 / 390.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2635, allocations: 0 / 390.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.2635, allocations: 1.156 kB / 390.3 MB, free: 5.73 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001997/0.2655, allocations: 1.248 MB / 391.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2656, allocations: 12.72 kB / 391.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.2657, allocations: 125.5 kB / 391.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/0.2662, allocations: 145.8 kB / 391.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009271/0.2671, allocations: 0.6453 MB / 392.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.2672, allocations: 59.75 kB / 392.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2673, allocations: 88.03 kB / 392.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.2685, allocations: 0.7831 MB / 393.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.2685, allocations: 3.938 kB / 393.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.2686, allocations: 30.56 kB / 393.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2686, allocations: 20.25 kB / 393.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.2696, allocations: 0.519 MB / 394 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.2733, allocations: 3.371 MB / 397.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.2738, allocations: 234.7 kB / 397.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.274, allocations: 113.2 kB / 397.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.2741, allocations: 6.891 kB / 397.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2741, allocations: 36.67 kB / 397.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.2741, allocations: 1.156 kB / 397.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001963/0.2761, allocations: 1.045 MB / 398.8 MB, free: 292 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2761, allocations: 89.17 kB / 398.9 MB, free: 188 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.2771, allocations: 0.7335 MB / 399.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2772, allocations: 35.2 kB / 399.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.2776, allocations: 0.4903 MB / 400.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.2776, allocations: 103.6 kB / 400.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.2778, allocations: 116.1 kB / 400.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.278, allocations: 377.2 kB / 400.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.2782, allocations: 131.1 kB / 400.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.2786, allocations: 414.6 kB / 401.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.2793, allocations: 0.5661 MB / 401.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2793, allocations: 2.719 kB / 401.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009615/0.2803, allocations: 0.6186 MB / 402.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2803, allocations: 10.03 kB / 402.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2803, allocations: 9.625 kB / 402.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.2805, allocations: 29.11 kB / 402.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.2809, allocations: 145.9 kB / 402.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.282, allocations: 1.387 MB / 404 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.2825, allocations: 41.78 kB / 404.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.2825, allocations: 29.59 kB / 404.1 MB, free: 12.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.2828, allocations: 236.3 kB / 404.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2829, allocations: 74.41 kB / 404.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.2836, allocations: 326.5 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2836, allocations: 3.438 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2836, allocations: 0.7969 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2836, allocations: 2.484 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.2853, allocations: 1.09 MB / 405.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2853, allocations: 3.734 kB / 405.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.2855, allocations: 61.53 kB / 405.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.39e-05/0.2856, allocations: 24.19 kB / 405.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2857, allocations: 11.94 kB / 405.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008202/0.2865, allocations: 1.373 MB / 407.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2865, allocations: 6.656 kB / 407.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.2873, allocations: 0.5496 MB / 407.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.2875, allocations: 177.1 kB / 408 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.2876, allocations: 8.469 kB / 408 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.288, allocations: 22.86 kB / 408 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.288, allocations: 30.12 kB / 408.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2881, allocations: 6.531 kB / 408.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006287/0.2887, allocations: 0.4993 MB / 408.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2887, allocations: 0 / 408.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006514/0.2894, allocations: 162 kB / 408.7 MB, free: 8.754 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.00114/0.2905, allocations: 1.119 MB / 409.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.2914, allocations: 470.5 kB / 410.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2914, allocations: 0 / 410.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.2917, allocations: 234.9 kB / 410.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.2926, allocations: 183.6 kB / 410.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008025/0.3007, allocations: 6.24 MB / 417 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.3012, allocations: 0.9451 MB / 417.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.3015, allocations: 88.83 kB / 418 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.3019, allocations: 299.5 kB / 418.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3019, allocations: 0 / 418.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.3411, allocations: 15.63 MB / 433.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.52, allocations: 11.88 kB / 433.9 MB, free: 3 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches