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: 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_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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 97.55 kB / 18.39 MB, free: 4.664 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.001203/0.001203, allocations: 187 kB / 19.33 MB, free: 3.738 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.215/1.215, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001197/0.001197, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07224/0.07344, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1556/0.2291, allocations: 7.081 MB / 382.9 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.2322, allocations: 2.392 MB / 385.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.2326, allocations: 20.53 kB / 385.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.2337, allocations: 0.4937 MB / 385.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006046/0.2343, allocations: 380.9 kB / 386.2 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.2346, allocations: 203.7 kB / 386.4 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009357/0.2356, allocations: 1.2 MB / 387.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.2362, allocations: 0.5067 MB / 388.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.2366, allocations: 464 kB / 388.5 MB, free: 7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.2371, allocations: 498.6 kB / 389 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2372, allocations: 114.2 kB / 389.1 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.2375, allocations: 153.9 kB / 389.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2377, allocations: 233.4 kB / 389.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.2381, allocations: 0.5403 MB / 390.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.2395, allocations: 1.438 MB / 391.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2395, allocations: 0 / 391.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2395, allocations: 2.125 kB / 391.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.2395, allocations: 0 / 391.5 MB, free: 5.656 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.001813/0.2414, allocations: 1.233 MB / 392.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2414, allocations: 18.02 kB / 392.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.2419, allocations: 148.7 kB / 392.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/0.2427, allocations: 0.6437 MB / 393.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.2427, allocations: 61.22 kB / 393.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.2429, allocations: 79.97 kB / 393.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.244, allocations: 0.7838 MB / 394.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.2441, allocations: 7.391 kB / 394.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.2441, allocations: 34.42 kB / 394.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2442, allocations: 19.28 kB / 394.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.2451, allocations: 0.5211 MB / 395 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.2489, allocations: 3.37 MB / 398.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.2494, allocations: 230.7 kB / 398.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.2496, allocations: 121.7 kB / 398.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.2497, allocations: 4.562 kB / 398.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.2497, allocations: 36.59 kB / 398.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.2497, allocations: 0 / 398.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001759/0.2515, allocations: 1.045 MB / 399.8 MB, free: 308 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2515, allocations: 80.05 kB / 399.9 MB, free: 212 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/0.2524, allocations: 0.7372 MB / 400.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2524, allocations: 31.89 kB / 400.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.2527, allocations: 0.491 MB / 401.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.2528, allocations: 111.6 kB / 401.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.253, allocations: 116.9 kB / 401.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2531, allocations: 377.5 kB / 401.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.2534, allocations: 124.1 kB / 401.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.2538, allocations: 418.8 kB / 402.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.2545, allocations: 0.573 MB / 402.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.2545, allocations: 2.75 kB / 402.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009464/0.2554, allocations: 0.6115 MB / 403.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2555, allocations: 9.531 kB / 403.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2555, allocations: 12.45 kB / 403.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.2556, allocations: 36.11 kB / 403.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.2561, allocations: 139.6 kB / 403.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009157/0.257, allocations: 1.386 MB / 405.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.2574, allocations: 32.5 kB / 405.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.2575, allocations: 33.55 kB / 405.1 MB, free: 12.21 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.0002839/0.2578, allocations: 243.9 kB / 405.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.2579, allocations: 69.22 kB / 405.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.2585, allocations: 321.6 kB / 405.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.2585, allocations: 7.656 kB / 405.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2585, allocations: 1.188 kB / 405.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2585, allocations: 0 / 405.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.2602, allocations: 1.098 MB / 406.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2602, allocations: 7.594 kB / 406.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.2604, allocations: 56.16 kB / 406.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-05/0.2605, allocations: 23.91 kB / 406.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.2606, allocations: 8.094 kB / 407 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.2614, allocations: 1.373 MB / 408.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2614, allocations: 1.25 kB / 408.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/0.2622, allocations: 0.5627 MB / 408.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.2624, allocations: 173.1 kB / 409.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.2625, allocations: 7.625 kB / 409.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.2629, allocations: 22.31 kB / 409.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.2629, allocations: 26.33 kB / 409.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.263, allocations: 16.14 kB / 409.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006695/0.2636, allocations: 0.5018 MB / 409.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2636, allocations: 1.406 kB / 409.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006559/0.2643, allocations: 157.5 kB / 409.8 MB, free: 8.73 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.0001978/0.2645, allocations: 121.2 kB / 409.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008293/0.2654, allocations: 467.3 kB / 410.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2654, allocations: 0 / 410.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.2657, allocations: 236.4 kB / 410.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.2666, allocations: 193.3 kB / 410.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.2689, allocations: 1.443 MB / 412.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.2694, allocations: 0.9485 MB / 413.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.2695, allocations: 54.64 kB / 413.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2695, allocations: 0 / 413.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of Templates: time 0.01636/0.2859, allocations: 13.46 MB / 426.7 MB, free: 11.54 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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