Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001921/0.001921, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.00229/0.00229, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.462/1.462, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] 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_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 378.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2684, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01051/0.2789, allocations: 8.32 MB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.2839, allocations: 2.766 MB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.2847, allocations: 35.88 kB / 443.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.2862, allocations: 0.5754 MB / 443.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.2875, allocations: 0.4963 MB / 444.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.2881, allocations: 283.6 kB / 444.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.2898, allocations: 1.498 MB / 446.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/0.2905, allocations: 411.3 kB / 446.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000826/0.2913, allocations: 0.5836 MB / 447.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.292, allocations: 0.6144 MB / 447.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.2922, allocations: 140 kB / 447.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.2926, allocations: 188 kB / 448 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.2928, allocations: 286.9 kB / 448.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007051/0.2935, allocations: 0.6804 MB / 449 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.2957, allocations: 1.764 MB / 450.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2957, allocations: 0 / 450.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2957, allocations: 0 / 450.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.2958, allocations: 0 / 450.7 MB, free: 4.387 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002724/0.2985, allocations: 1.446 MB / 452.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2985, allocations: 8.031 kB / 452.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.2994, allocations: 208 kB / 452.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.3008, allocations: 0.6931 MB / 453.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.3008, allocations: 74 kB / 453.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.301, allocations: 99.95 kB / 453.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3027, allocations: 0.9464 MB / 454.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.3028, allocations: 4 kB / 454.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.3028, allocations: 40 kB / 454.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.3029, allocations: 27.94 kB / 454.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.3042, allocations: 0.6442 MB / 454.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.3097, allocations: 3.809 MB / 458.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.3105, allocations: 346.5 kB / 459.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.3112, allocations: 265.3 kB / 459.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.3112, allocations: 4 kB / 459.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3112, allocations: 42.56 kB / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.385e-06/0.3113, allocations: 0 / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003237/0.3145, allocations: 1.35 MB / 460.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.3146, allocations: 85.09 kB / 460.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.3158, allocations: 0.845 MB / 461.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.3158, allocations: 29.7 kB / 461.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.3163, allocations: 0.5775 MB / 462.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.3165, allocations: 166.6 kB / 462.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3167, allocations: 130.6 kB / 462.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3168, allocations: 337.9 kB / 462.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.3173, allocations: 169.9 kB / 463 MB, free: 7.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.318, allocations: 479.6 kB / 463.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.319, allocations: 0.676 MB / 464.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.319, allocations: 4 kB / 464.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001492/0.3205, allocations: 0.7833 MB / 465 MB, free: 5.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3206, allocations: 12 kB / 465 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3206, allocations: 8 kB / 465 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.3209, allocations: 85.88 kB / 465.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.3214, allocations: 155.7 kB / 465.2 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.3241, allocations: 2.947 MB / 468.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.3247, allocations: 40 kB / 468.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.3247, allocations: 32 kB / 468.2 MB, free: 1.945 MB / 366.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 (85): * Single equations (assignments): 83 * 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.0004319/0.3252, allocations: 273 kB / 468.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.3253, allocations: 91.44 kB / 468.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3264, allocations: 0.4954 MB / 469.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3264, allocations: 8 kB / 469.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3264, allocations: 0 / 469.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3264, allocations: 7.922 kB / 469.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.3288, allocations: 1.45 MB / 470.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3288, allocations: 0 / 470.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.3292, allocations: 75.89 kB / 470.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.3294, allocations: 77.95 kB / 470.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.3294, allocations: 16 kB / 470.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.332, allocations: 2.912 MB / 473.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.332, allocations: 4.031 kB / 473.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.3335, allocations: 0.8021 MB / 474.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.3338, allocations: 127.4 kB / 474.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3339, allocations: 15.92 kB / 474.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.3344, allocations: 27.98 kB / 474.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.3344, allocations: 39.69 kB / 474.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.3345, allocations: 24.05 kB / 474.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009265/0.3354, allocations: 0.5732 MB / 475.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3354, allocations: 0 / 475.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009168/0.3363, allocations: 208 kB / 475.4 MB, free: 10.36 MB / 382.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 (39): * Single equations (assignments): 37 * 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.0002504/0.3366, allocations: 135.1 kB / 475.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3379, allocations: 0.6831 MB / 476.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3379, allocations: 0 / 476.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.3387, allocations: 453.5 kB / 476.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3397, allocations: 231.6 kB / 476.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.3428, allocations: 1.764 MB / 478.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.3435, allocations: 1.017 MB / 479.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.3439, allocations: 107.3 kB / 479.8 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.344, allocations: 55.44 kB / 479.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.344, allocations: 0 / 479.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of Templates: time 0.02279/0.3668, allocations: 11.38 MB / 491.2 MB, free: 10.54 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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: 5.01518458686769]