Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008682/0.0008682, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003693/0.003693, allocations: 157.9 kB / 24.7 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8746/0.8746, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.542e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008114/0.00813, allocations: 11.35 MB / 337.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.0126, allocations: 4.062 MB / 341.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.01322, allocations: 103.3 kB / 341.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.0145, allocations: 0.974 MB / 342.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.01603, allocations: 1.304 MB / 343.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.01659, allocations: 0.5342 MB / 344.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.01951, allocations: 4.849 MB / 349 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.02123, allocations: 2.011 MB / 351 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.02422, allocations: 3.197 MB / 354.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.02608, allocations: 2.303 MB / 356.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.02651, allocations: 0.5508 MB / 357 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/0.02714, allocations: 0.6483 MB / 357.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.02796, allocations: 1.585 MB / 359.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.02908, allocations: 1.742 MB / 361 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004402/0.03349, allocations: 7.58 MB / 368.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.03349, allocations: 0 / 368.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03349, allocations: 0 / 368.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.03353, allocations: 7.938 kB / 368.6 MB, free: 4.359 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.004907/0.03844, allocations: 4.715 MB / 373.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.03848, allocations: 15.98 kB / 373.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008641/0.03934, allocations: 0.5526 MB / 373.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.04205, allocations: 2.543 MB / 376.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.04218, allocations: 263.4 kB / 376.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.04251, allocations: 352.3 kB / 377 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.04762, allocations: 5.317 MB / 382.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.462e-05/0.04767, allocations: 7.953 kB / 382.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.04791, allocations: 148 kB / 382.5 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.04803, allocations: 195 kB / 382.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.05245, allocations: 4.306 MB / 387 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.06519, allocations: 12.88 MB / 399.9 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.06758, allocations: 2.692 MB / 402.6 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.06947, allocations: 1.881 MB / 404.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.06964, allocations: 57.97 kB / 404.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.06967, allocations: 60.5 kB / 404.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=198): time 3.416e-06/0.06968, allocations: 0 / 404.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01186/0.08154, allocations: 9.585 MB / 414.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.08158, allocations: 77.41 kB / 414.2 MB, free: 6.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.08368, allocations: 2.207 MB / 416.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.08377, allocations: 61.7 kB / 416.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.08451, allocations: 1.676 MB / 418.2 MB, free: 2.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.08489, allocations: 0.7591 MB / 418.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/0.08532, allocations: 420.4 kB / 419.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.0856, allocations: 301.1 kB / 419.6 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.08686, allocations: 1.297 MB / 420.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.08834, allocations: 1.782 MB / 422.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.09121, allocations: 3.211 MB / 425.9 MB, free: 10.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.09122, allocations: 4 kB / 425.9 MB, free: 10 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00454/0.09576, allocations: 4.045 MB / 430 MB, free: 5.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.09579, allocations: 8 kB / 430 MB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.09581, allocations: 16 kB / 430 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.09728, allocations: 0.891 MB / 430.9 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.09833, allocations: 0.5227 MB / 431.4 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.1049, allocations: 8.976 MB / 440.4 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.106, allocations: 115.9 kB / 440.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.1061, allocations: 88 kB / 440.6 MB, free: 11.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(3,25,77.8%), (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.002085/0.1082, allocations: 1.234 MB / 441.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.1085, allocations: 258.4 kB / 442.1 MB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.1123, allocations: 3.669 MB / 445.7 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.1123, allocations: 23.94 kB / 445.8 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1123, allocations: 8 kB / 445.8 MB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.1123, allocations: 11.95 kB / 445.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1643/0.2766, allocations: 7.108 MB / 452.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.2766, allocations: 3.438 kB / 452.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009814/0.2776, allocations: 383.6 kB / 453.3 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.2792, allocations: 0.9299 MB / 454.2 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.2793, allocations: 61.48 kB / 454.3 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/0.2848, allocations: 10.47 MB / 464.7 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2848, allocations: 7.062 kB / 464.7 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.2893, allocations: 5.488 MB / 470.2 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/0.29, allocations: 0.5545 MB / 470.8 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.2902, allocations: 47.89 kB / 470.8 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.2908, allocations: 110.6 kB / 470.9 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.2911, allocations: 187.4 kB / 471.1 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.2911, allocations: 67.41 kB / 471.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.2924, allocations: 1.491 MB / 472.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2924, allocations: 0 / 472.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001358/0.2938, allocations: 0.7962 MB / 473.5 MB, free: 99.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,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.000403/0.2942, allocations: 242.8 kB / 473.7 MB, free: 99.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.2971, allocations: 3.607 MB / 477.3 MB, free: 95.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2971, allocations: 0 / 477.3 MB, free: 95.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.2988, allocations: 2.314 MB / 479.6 MB, free: 93.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.3002, allocations: 0.6284 MB / 480.2 MB, free: 92.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.3068, allocations: 7.655 MB / 487.9 MB, free: 85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.308, allocations: 2.193 MB / 490.1 MB, free: 82.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.3084, allocations: 180.4 kB / 490.3 MB, free: 82.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3084, allocations: 0 / 490.3 MB, free: 82.59 MB / 410.7 MB Notification: Performance of Templates: time 0.07943/0.3879, allocations: 141.8 MB / 0.6172 GB, free: 4.762 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.998501881025732]