Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001581, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.62 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1278, allocations: 50.54 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008638/0.1365, allocations: 8.1 MB / 367 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.1407, allocations: 2.665 MB / 369.7 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.1413, allocations: 27.94 kB / 369.7 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1425, allocations: 0.5558 MB / 370.3 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008357/0.1433, allocations: 464.3 kB / 370.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1437, allocations: 255.7 kB / 371 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1475/0.2913, allocations: 1.472 MB / 372.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009328/0.2922, allocations: 0.5756 MB / 373 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008168/0.2931, allocations: 0.5584 MB / 373.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.2937, allocations: 0.5963 MB / 374.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.2939, allocations: 137.6 kB / 374.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.2942, allocations: 178.8 kB / 374.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2944, allocations: 281.9 kB / 374.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.2949, allocations: 0.6616 MB / 375.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.2964, allocations: 1.724 MB / 377.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2964, allocations: 0 / 377.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2964, allocations: 0 / 377.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.2964, allocations: 3.938 kB / 377.1 MB, free: 10.57 MB / 302.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.002004/0.2984, allocations: 1.447 MB / 378.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.2985, allocations: 9.875 kB / 378.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006149/0.2991, allocations: 185.6 kB / 378.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3001, allocations: 0.7425 MB / 379.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.3002, allocations: 73.25 kB / 379.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3003, allocations: 98.55 kB / 379.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.3017, allocations: 0.9306 MB / 380.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3017, allocations: 12.02 kB / 380.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.3018, allocations: 42.38 kB / 380.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.3018, allocations: 24.59 kB / 380.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3029, allocations: 0.6358 MB / 381.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.3073, allocations: 3.873 MB / 385.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.308, allocations: 458.6 kB / 385.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.3085, allocations: 262.1 kB / 385.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.3085, allocations: 4.594 kB / 385.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.3085, allocations: 38.33 kB / 385.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.714e-06/0.3085, allocations: 0 / 385.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002384/0.3109, allocations: 1.392 MB / 387.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.311, allocations: 85.7 kB / 387.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3121, allocations: 0.8248 MB / 388.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3121, allocations: 32.17 kB / 388.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.3124, allocations: 0.5598 MB / 388.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.3125, allocations: 161.2 kB / 389 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3127, allocations: 129.7 kB / 389.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.3127, allocations: 333.9 kB / 389.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.313, allocations: 168.9 kB / 389.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.3135, allocations: 456.3 kB / 390.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.3142, allocations: 0.6593 MB / 390.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3142, allocations: 6.375 kB / 390.7 MB, free: 2.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001135/0.3154, allocations: 0.7692 MB / 391.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3154, allocations: 8.719 kB / 391.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3154, allocations: 9.875 kB / 391.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.3157, allocations: 84.23 kB / 391.6 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.3162, allocations: 154.9 kB / 391.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.3181, allocations: 3.14 MB / 394.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.3187, allocations: 41.22 kB / 394.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.3187, allocations: 35.47 kB / 395 MB, free: 15.16 MB / 318.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.0003597/0.3191, allocations: 255.3 kB / 395.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3192, allocations: 96.91 kB / 395.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008816/0.3201, allocations: 492 kB / 395.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3201, allocations: 4.625 kB / 395.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3201, allocations: 2.219 kB / 395.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3202, allocations: 7.875 kB / 395.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3222, allocations: 1.428 MB / 397.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3222, allocations: 2.656 kB / 397.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.3225, allocations: 71.69 kB / 397.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/0.3227, allocations: 74.73 kB / 397.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3227, allocations: 15.2 kB / 397.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3249, allocations: 3.128 MB / 400.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3249, allocations: 5.469 kB / 400.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3261, allocations: 0.7616 MB / 401.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.3263, allocations: 193.9 kB / 401.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3265, allocations: 16.39 kB / 401.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.3269, allocations: 25.64 kB / 401.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.327, allocations: 37.08 kB / 401.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.327, allocations: 14.59 kB / 401.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007381/0.3278, allocations: 0.5655 MB / 402.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3278, allocations: 0 / 402.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00082/0.3286, allocations: 205.7 kB / 402.3 MB, free: 9.688 MB / 318.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.0001962/0.3288, allocations: 120.4 kB / 402.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.3299, allocations: 0.6949 MB / 403.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3299, allocations: 2.688 kB / 403.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.3305, allocations: 439.4 kB / 403.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.3315, allocations: 227.6 kB / 403.8 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.3339, allocations: 1.704 MB / 405.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.3344, allocations: 1 MB / 406.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.3348, allocations: 111.4 kB / 406.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3349, allocations: 57.75 kB / 406.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3349, allocations: 0 / 406.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of Templates: time 0.01905/0.354, allocations: 10.54 MB / 417.2 MB, free: 13.34 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches