Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 117.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2336, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01097/0.2446, allocations: 9.431 MB / 419.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005991/0.2507, allocations: 3.049 MB / 422.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.2522, allocations: 47.81 kB / 422.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.2542, allocations: 0.664 MB / 423.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.257, allocations: 0.8117 MB / 424 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009181/0.258, allocations: 359.5 kB / 424.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.261, allocations: 2.669 MB / 427 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.2634, allocations: 2.155 MB / 429.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.2649, allocations: 1.207 MB / 430.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2667, allocations: 1.495 MB / 431.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.2671, allocations: 308 kB / 432.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.2678, allocations: 411.8 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008272/0.2687, allocations: 0.8882 MB / 433.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.2701, allocations: 1.412 MB / 434.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.2744, allocations: 4.114 MB / 438.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.2744, allocations: 4 kB / 438.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2744, allocations: 4 kB / 439 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001062/0.2745, allocations: 0 / 439 MB, free: 4.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006118/0.2807, allocations: 2.929 MB / 441.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2807, allocations: 8.031 kB / 441.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2818, allocations: 339.1 kB / 442.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.2844, allocations: 1.564 MB / 443.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2845, allocations: 148.4 kB / 443.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.2848, allocations: 203.9 kB / 444.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/0.2891, allocations: 2.74 MB / 446.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/0.2892, allocations: 7.891 kB / 446.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.2894, allocations: 87.98 kB / 447 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.605e-05/0.2895, allocations: 95.92 kB / 447.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/0.2932, allocations: 2.334 MB / 449.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.3048, allocations: 8.32 MB / 457.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.3069, allocations: 1.783 MB / 459.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.3087, allocations: 1.074 MB / 460.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.309, allocations: 126 kB / 460.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.309, allocations: 43.56 kB / 460.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.906e-06/0.309, allocations: 0 / 460.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01213/0.3211, allocations: 6.259 MB / 467 MB, free: 7.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3212, allocations: 64.41 kB / 467.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.3235, allocations: 1.533 MB / 468.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/0.3236, allocations: 45.7 kB / 468.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.3242, allocations: 1.013 MB / 469.6 MB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.3245, allocations: 432.3 kB / 470.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.325, allocations: 259.5 kB / 470.3 MB, free: 4.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3251, allocations: 361.9 kB / 470.7 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.3262, allocations: 0.7339 MB / 471.4 MB, free: 3.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.3275, allocations: 1.052 MB / 472.5 MB, free: 2.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.3301, allocations: 1.875 MB / 474.3 MB, free: 16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.3301, allocations: 4 kB / 474.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003855/0.3339, allocations: 2.354 MB / 476.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.334, allocations: 16.34 kB / 476.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.334, allocations: 11.94 kB / 476.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.335, allocations: 406.6 kB / 477.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3363, allocations: 331.5 kB / 477.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005026/0.3413, allocations: 5.067 MB / 482.5 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3425, allocations: 95.8 kB / 482.6 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.3427, allocations: 55.92 kB / 482.7 MB, free: 7.367 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.3439, allocations: 0.7082 MB / 483.4 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.3443, allocations: 174.9 kB / 483.5 MB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.3481, allocations: 2.145 MB / 485.7 MB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.3482, allocations: 7.969 kB / 485.7 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3482, allocations: 0 / 485.7 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/0.349, allocations: 411.9 kB / 486.1 MB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/0.3493, allocations: 24 kB / 486.1 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/0.3502, allocations: 87.89 kB / 486.2 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.3505, allocations: 104.8 kB / 486.3 MB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004501/0.355, allocations: 2.253 MB / 488.6 MB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004076/0.3591, allocations: 2.91 MB / 491.5 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00115/0.3603, allocations: 0.808 MB / 492.3 MB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.362, allocations: 1.056 MB / 493.3 MB, free: 12.59 MB / 414.1 MB Notification: Performance of Backend: time 4.4e-07/0.362, allocations: 0 / 493.3 MB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.3656, allocations: 1.757 MB / 495.1 MB, free: 10.76 MB / 414.1 MB Notification: Performance of SimCode: time 0.007733/0.3734, allocations: 4.789 MB / 499.9 MB, free: 5.914 MB / 414.1 MB Notification: Performance of Templates: time 0.04542/0.4188, allocations: 27.99 MB / 0.5155 GB, free: 10.16 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches