Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.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.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.232, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.01779/0.2498, allocations: 18.85 MB / 428.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.2586, allocations: 5.719 MB / 434.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2601, allocations: 63.88 kB / 434.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.263, allocations: 1.301 MB / 435.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.2656, allocations: 1.217 MB / 437.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.2668, allocations: 0.6672 MB / 437.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.2705, allocations: 3.931 MB / 441.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.2724, allocations: 1.588 MB / 443.3 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.2742, allocations: 1.479 MB / 444.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2757, allocations: 1.583 MB / 446.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004231/0.2761, allocations: 372 kB / 446.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.2768, allocations: 420 kB / 447.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.2773, allocations: 0.7278 MB / 447.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.2788, allocations: 1.765 MB / 449.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.2829, allocations: 4.598 MB / 454.2 MB, free: 5.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2829, allocations: 4 kB / 454.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2829, allocations: 0 / 454.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.023e-05/0.283, allocations: 0 / 454.2 MB, free: 5.105 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.005172/0.2881, allocations: 3.339 MB / 457.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2882, allocations: 8.031 kB / 457.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.2897, allocations: 479.7 kB / 458 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.2924, allocations: 1.735 MB / 459.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2926, allocations: 193.2 kB / 460 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.2929, allocations: 263.7 kB / 460.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.2966, allocations: 2.474 MB / 462.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/0.2967, allocations: 15.84 kB / 462.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.2969, allocations: 108 kB / 462.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.2969, allocations: 67.98 kB / 462.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.2998, allocations: 1.638 MB / 464.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.3111, allocations: 10.56 MB / 475.1 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3124, allocations: 1.05 MB / 476.1 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.313, allocations: 367.4 kB / 476.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.313, allocations: 8.656 kB / 476.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3131, allocations: 51.14 kB / 476.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.685e-06/0.3131, allocations: 0 / 476.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=90): time 0.004533/0.3176, allocations: 2.917 MB / 479.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.3177, allocations: 163.2 kB / 479.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.3204, allocations: 2.202 MB / 481.8 MB, free: 8.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3205, allocations: 41.7 kB / 481.9 MB, free: 8.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009474/0.3215, allocations: 1.474 MB / 483.3 MB, free: 6.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.3217, allocations: 335.4 kB / 483.7 MB, free: 6.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.322, allocations: 335 kB / 484 MB, free: 6.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.3221, allocations: 305.1 kB / 484.3 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.3228, allocations: 372.7 kB / 484.6 MB, free: 5.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.324, allocations: 1.231 MB / 485.9 MB, free: 3.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.3258, allocations: 1.726 MB / 487.6 MB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.3259, allocations: 8 kB / 487.6 MB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.002674/0.3285, allocations: 1.838 MB / 489.4 MB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3286, allocations: 19.94 kB / 489.5 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.3286, allocations: 32 kB / 489.5 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/0.3291, allocations: 159.9 kB / 489.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.3302, allocations: 411.3 kB / 490.1 MB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.3339, allocations: 5.762 MB / 495.8 MB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.3352, allocations: 91.95 kB / 495.9 MB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.3353, allocations: 95.98 kB / 496 MB, free: 8.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001166/0.3365, allocations: 0.7187 MB / 496.7 MB, free: 7.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001179/0.3376, allocations: 1.231 MB / 497.9 MB, free: 6.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001807/0.3395, allocations: 1.695 MB / 499.6 MB, free: 4.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.01e-05/0.3395, allocations: 12 kB / 499.7 MB, free: 4.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.002628/0.3421, allocations: 1.815 MB / 0.4897 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3421, allocations: 20 kB / 0.4897 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.3422, allocations: 28.03 kB / 0.4898 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.3426, allocations: 155.4 kB / 0.4899 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.3437, allocations: 411.2 kB / 0.4903 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.3475, allocations: 5.773 MB / 0.4959 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3487, allocations: 83.88 kB / 0.496 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.3488, allocations: 92 kB / 0.4961 GB, free: 11.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002746/0.3491, allocations: 327.6 kB / 0.4964 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.3494, allocations: 229.2 kB / 0.4966 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.3509, allocations: 0.9146 MB / 0.4975 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3509, allocations: 3.984 kB / 0.4975 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3509, allocations: 0 / 0.4975 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/0.3515, allocations: 378.1 kB / 0.4979 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.3517, allocations: 19.98 kB / 0.4979 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.3526, allocations: 43.97 kB / 0.498 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.3527, allocations: 60.91 kB / 0.498 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001753/0.3544, allocations: 0.8756 MB / 0.4989 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001734/0.3562, allocations: 1.303 MB / 0.5001 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004288/0.3566, allocations: 283.8 kB / 0.5004 GB, free: 6.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.3585, allocations: 1.454 MB / 0.5018 GB, free: 5.293 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.3585, allocations: 3.938 kB / 0.5018 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.3623, allocations: 2.594 MB / 0.5044 GB, free: 2.598 MB / 430.1 MB Notification: Performance of SimCode: time 0.007014/0.3693, allocations: 4.972 MB / 0.5092 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Templates: time 0.2255/0.5948, allocations: 30.12 MB / 0.5386 GB, free: 125.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DC_CompareCharacteristics/DC_CompareCharacteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches