Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001814/0.001814, allocations: 109.9 kB / 19.17 MB, free: 3.871 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.002236/0.002236, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.531/1.531, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005547/0.1229, allocations: 3.735 MB / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2283/0.3512, allocations: 1.492 MB / 433.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.3515, allocations: 9.438 kB / 433.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.3534, allocations: 0.7531 MB / 433.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3544, allocations: 394 kB / 434.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3554, allocations: 0.557 MB / 434.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.3559, allocations: 460.6 kB / 435.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.3564, allocations: 296 kB / 435.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.3567, allocations: 208.9 kB / 435.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.357, allocations: 267.8 kB / 436 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.3571, allocations: 41.34 kB / 436 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.3577, allocations: 215.8 kB / 436.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.879e-05/0.3577, allocations: 101.8 kB / 436.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.358, allocations: 236.1 kB / 436.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009864/0.3589, allocations: 0.6939 MB / 437.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.359, allocations: 0 / 437.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.359, allocations: 0 / 437.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.359, allocations: 0 / 437.2 MB, free: 7.473 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002199/0.3612, allocations: 0.9147 MB / 438.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3612, allocations: 13.78 kB / 438.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.3648, allocations: 475.5 kB / 438.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.3653, allocations: 301.7 kB / 438.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.3654, allocations: 38.69 kB / 439 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.3655, allocations: 55.66 kB / 439 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.3665, allocations: 0.5209 MB / 439.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.3665, allocations: 5.578 kB / 439.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.3666, allocations: 25.22 kB / 439.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3666, allocations: 11.84 kB / 439.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.3677, allocations: 0.5653 MB / 440.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.3707, allocations: 1.954 MB / 442.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.3726, allocations: 2.14 MB / 444.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.373, allocations: 183 kB / 444.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.3731, allocations: 180.9 kB / 444.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3731, allocations: 37.83 kB / 444.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.294e-06/0.3731, allocations: 8.438 kB / 444.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002081/0.3752, allocations: 0.786 MB / 445.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.3753, allocations: 61.34 kB / 445.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.3754, allocations: 187.2 kB / 445.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3755, allocations: 31.98 kB / 445.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3756, allocations: 226.7 kB / 445.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3757, allocations: 170.1 kB / 446.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3758, allocations: 85 kB / 446.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.3759, allocations: 336.4 kB / 446.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3762, allocations: 157.5 kB / 446.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.3765, allocations: 226.1 kB / 446.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3772, allocations: 403.9 kB / 447.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3772, allocations: 0 / 447.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001021/0.3782, allocations: 0.5367 MB / 447.8 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3782, allocations: 4.969 kB / 447.8 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3782, allocations: 2.438 kB / 447.8 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/0.3787, allocations: 97.73 kB / 447.9 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.379, allocations: 86.89 kB / 448 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.3814, allocations: 2.05 MB / 450 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3818, allocations: 46.41 kB / 450.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.3818, allocations: 19.92 kB / 450.1 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.3821, allocations: 166.4 kB / 450.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.3822, allocations: 28.94 kB / 450.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.3834, allocations: 0.5434 MB / 450.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3834, allocations: 5.531 kB / 450.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3834, allocations: 1.344 kB / 450.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3834, allocations: 4.281 kB / 450.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.3855, allocations: 1.128 MB / 452 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3855, allocations: 6.938 kB / 452 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.3858, allocations: 75.62 kB / 452.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.3861, allocations: 88.41 kB / 452.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.3862, allocations: 8 kB / 452.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.3886, allocations: 2.042 MB / 454.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3886, allocations: 0.5156 kB / 454.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3901, allocations: 0.7966 MB / 455 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3902, allocations: 106.4 kB / 455.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.3903, allocations: 10.86 kB / 455.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3905, allocations: 14.97 kB / 455.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3906, allocations: 33.86 kB / 455.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.3907, allocations: 20.25 kB / 455.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3908, allocations: 138.3 kB / 455.3 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3908, allocations: 0 / 455.3 MB, free: 11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006867/0.3915, allocations: 151.8 kB / 455.5 MB, free: 10.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/0.3918, allocations: 140.6 kB / 455.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.393, allocations: 0.5423 MB / 456.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.393, allocations: 1.188 kB / 456.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.3936, allocations: 357 kB / 456.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.394, allocations: 28.06 kB / 456.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3955, allocations: 0.8504 MB / 457.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.396, allocations: 0.8054 MB / 458.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3962, allocations: 39.95 kB / 458.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3962, allocations: 0 / 458.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of Templates: time 0.01159/0.4078, allocations: 6.518 MB / 464.7 MB, free: 6.664 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 7.61754306498915]