Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007666/0.007667, allocations: 176.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.543/3.543, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 97.97 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006535/0.0006537, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4743, allocations: 47.58 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.6772, allocations: 93.4 MB / 469.1 MB, free: 3.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/0.6777, allocations: 87.95 kB / 469.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.7863, allocations: 22.96 MB / 492.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.553e-06/0.7864, allocations: 0 / 492.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001589/0.7866, allocations: 20 kB / 492.2 MB, free: 11.96 MB / 378.7 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.004849/0.7915, allocations: 1.076 MB / 493.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.7916, allocations: 8.031 kB / 493.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.7928, allocations: 151.6 kB / 493.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.7959, allocations: 0.7116 MB / 494.1 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.7961, allocations: 58.38 kB / 494.2 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003779/0.7965, allocations: 76.38 kB / 494.3 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.7999, allocations: 0.7799 MB / 495.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.8, allocations: 19.78 kB / 495.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.8002, allocations: 32 kB / 495.1 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.8003, allocations: 20 kB / 495.1 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.8027, allocations: 0.5309 MB / 495.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009172/0.8119, allocations: 3.454 MB / 499.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.8131, allocations: 238.6 kB / 499.3 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.8136, allocations: 121.7 kB / 499.5 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.8137, allocations: 7.984 kB / 499.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.993e-05/0.8138, allocations: 42.44 kB / 499.5 MB, free: 4.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 5.741e-06/0.8138, allocations: 0 / 499.5 MB, free: 4.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.004756/0.8186, allocations: 1.08 MB / 0.4889 GB, free: 3.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.8188, allocations: 81.34 kB / 0.4889 GB, free: 3.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.8209, allocations: 0.6958 MB / 0.4896 GB, free: 2.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.821, allocations: 33.7 kB / 0.4896 GB, free: 2.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.8217, allocations: 0.5019 MB / 0.4901 GB, free: 1.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.8219, allocations: 106.6 kB / 0.4902 GB, free: 1.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.8219, allocations: 12 kB / 0.4903 GB, free: 1.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003141/0.8223, allocations: 378.8 kB / 0.4906 GB, free: 1.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.8227, allocations: 129.2 kB / 0.4907 GB, free: 1.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.8235, allocations: 426.2 kB / 0.4911 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4278/1.251, allocations: 0.5863 MB / 0.4917 GB, free: 98.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/1.251, allocations: 3.094 kB / 0.4917 GB, free: 98.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00347/1.255, allocations: 0.6329 MB / 0.4923 GB, free: 98.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/1.255, allocations: 9.031 kB / 0.4923 GB, free: 98.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/1.255, allocations: 10.12 kB / 0.4924 GB, free: 98.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/1.256, allocations: 34.66 kB / 0.4924 GB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.257, allocations: 144.1 kB / 0.4925 GB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/1.258, allocations: 1.289 MB / 0.4938 GB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.259, allocations: 38.3 kB / 0.4938 GB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.259, allocations: 35.12 kB / 0.4939 GB, free: 97.69 MB / 378.7 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008459/1.26, allocations: 234.7 kB / 0.4941 GB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/1.261, allocations: 75.94 kB / 0.4942 GB, free: 97.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.262, allocations: 336.1 kB / 0.4945 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.262, allocations: 2.688 kB / 0.4945 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.262, allocations: 2.281 kB / 0.4945 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.262, allocations: 0.8125 kB / 0.4945 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/1.265, allocations: 1.091 MB / 0.4955 GB, free: 97.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.265, allocations: 2.906 kB / 0.4955 GB, free: 97.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/1.266, allocations: 71.53 kB / 0.4956 GB, free: 97.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/1.266, allocations: 20.2 kB / 0.4956 GB, free: 97.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/1.266, allocations: 11.47 kB / 0.4956 GB, free: 97.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.267, allocations: 1.277 MB / 0.4969 GB, free: 95.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.267, allocations: 2.219 kB / 0.4969 GB, free: 95.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.269, allocations: 0.5733 MB / 0.4975 GB, free: 95.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/1.27, allocations: 174.9 kB / 0.4976 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.27, allocations: 7.406 kB / 0.4976 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/1.27, allocations: 23.88 kB / 0.4977 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.271, allocations: 29.48 kB / 0.4977 GB, free: 95.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/1.271, allocations: 12.22 kB / 0.4977 GB, free: 95.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001418/1.272, allocations: 483.8 kB / 0.4982 GB, free: 95.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.246e-06/1.272, allocations: 1.875 kB / 0.4982 GB, free: 95.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001935/1.274, allocations: 190.7 kB / 0.4983 GB, free: 95.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008861/1.275, allocations: 282.8 kB / 0.4986 GB, free: 95.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/1.277, allocations: 480.8 kB / 0.4991 GB, free: 95.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.277, allocations: 1.031 kB / 0.4991 GB, free: 95.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007489/1.278, allocations: 247.5 kB / 0.4993 GB, free: 95.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.28, allocations: 169.2 kB / 0.4995 GB, free: 95.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/1.286, allocations: 1.784 MB / 0.5012 GB, free: 94.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.287, allocations: 0.9452 MB / 0.5021 GB, free: 93.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/1.287, allocations: 54.34 kB / 0.5022 GB, free: 93.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.485e-06/1.287, allocations: 3.609 kB / 0.5022 GB, free: 93.45 MB / 378.7 MB Notification: Performance of Templates: time 0.03846/1.326, allocations: 14.14 MB / 0.516 GB, free: 92 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches