Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 108.2 kB / 17.74 MB, free: 5.359 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.001787/0.001787, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009689/0.0009689, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2578, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01043/0.2682, allocations: 9.383 MB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.2737, allocations: 2.957 MB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2748, allocations: 47.81 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.2765, allocations: 0.6716 MB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2786, allocations: 0.8079 MB / 415.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.2793, allocations: 351.5 kB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.2823, allocations: 2.656 MB / 418.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.2849, allocations: 2.163 MB / 420.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.2866, allocations: 1.187 MB / 421.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.2888, allocations: 1.498 MB / 423.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006649/0.2895, allocations: 308 kB / 423.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2906, allocations: 395.8 kB / 423.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2916, allocations: 0.8843 MB / 424.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.2935, allocations: 1.404 MB / 426.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.2979, allocations: 4.077 MB / 430.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2979, allocations: 11.86 kB / 430.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2979, allocations: 0 / 430.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.2981, allocations: 0 / 430.2 MB, free: 11.94 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.006216/0.3043, allocations: 2.853 MB / 433.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3043, allocations: 8.031 kB / 433.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/0.305, allocations: 289.7 kB / 433.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.3077, allocations: 1.527 MB / 434.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3078, allocations: 156.3 kB / 435 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.3081, allocations: 212 kB / 435.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.3125, allocations: 2.728 MB / 438 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.3126, allocations: 4 kB / 438 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.3128, allocations: 87.98 kB / 438.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/0.3129, allocations: 95.92 kB / 438.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003612/0.3165, allocations: 2.322 MB / 440.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.3284, allocations: 8.321 MB / 448.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3305, allocations: 1.772 MB / 450.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.3324, allocations: 1.082 MB / 451.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.3326, allocations: 118.1 kB / 451.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3327, allocations: 51.56 kB / 451.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.106e-06/0.3327, allocations: 0 / 451.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01681/0.3495, allocations: 6.2 MB / 458 MB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3496, allocations: 60.41 kB / 458.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.3528, allocations: 1.512 MB / 459.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.3529, allocations: 53.7 kB / 459.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.354, allocations: 0.9834 MB / 460.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.3545, allocations: 414 kB / 461 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.355, allocations: 255.4 kB / 461.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3552, allocations: 361.9 kB / 461.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.357, allocations: 0.73 MB / 462.4 MB, free: 11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.3589, allocations: 1.063 MB / 463.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.3626, allocations: 1.871 MB / 465.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.3626, allocations: 4 kB / 465.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005598/0.3682, allocations: 2.357 MB / 467.6 MB, free: 5.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.3683, allocations: 8 kB / 467.7 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.3683, allocations: 12 kB / 467.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.3696, allocations: 407.4 kB / 468.1 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3714, allocations: 327.5 kB / 468.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007111/0.3785, allocations: 5.065 MB / 473.5 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.3801, allocations: 83.91 kB / 473.5 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.3803, allocations: 55.94 kB / 473.6 MB, free: 15.2 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.001621/0.3819, allocations: 0.7198 MB / 474.3 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.3824, allocations: 158 kB / 474.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005193/0.3876, allocations: 2.137 MB / 476.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.3876, allocations: 7.969 kB / 476.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3876, allocations: 0 / 476.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.3888, allocations: 403 kB / 477 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.3892, allocations: 31.98 kB / 477 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.3904, allocations: 79.91 kB / 477.1 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.3907, allocations: 104.8 kB / 477.2 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004603/0.3953, allocations: 2.257 MB / 479.5 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003989/0.3993, allocations: 2.901 MB / 482.4 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001112/0.4005, allocations: 0.8041 MB / 483.2 MB, free: 5.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001507/0.402, allocations: 1.044 MB / 484.2 MB, free: 4.465 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.402, allocations: 7.875 kB / 484.2 MB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003343/0.4053, allocations: 1.756 MB / 486 MB, free: 2.625 MB / 398.1 MB Notification: Performance of SimCode: time 0.007242/0.4126, allocations: 4.701 MB / 490.7 MB, free: 13.86 MB / 414.1 MB Notification: Performance of Templates: time 0.04491/0.4575, allocations: 27.79 MB / 0.5063 GB, free: 2.324 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches