Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 46.95 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.91 kB / 0.4974 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 66.04 MB / 0.5619 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00509/0.3158, allocations: 3.545 MB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3175, allocations: 0.8296 MB / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.3178, allocations: 11.94 kB / 0.5662 GB, free: 20 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.318, allocations: 79.33 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.3183, allocations: 130.8 kB / 0.5664 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3186, allocations: 131.8 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.3192, allocations: 0.5217 MB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.3195, allocations: 182 kB / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.3198, allocations: 219.3 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.3201, allocations: 234.9 kB / 0.5676 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.3202, allocations: 48 kB / 0.5676 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.3202, allocations: 52 kB / 0.5677 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.3203, allocations: 115.6 kB / 0.5678 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.3206, allocations: 242.9 kB / 0.568 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.3212, allocations: 0.5628 MB / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3212, allocations: 0 / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3212, allocations: 0 / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.3212, allocations: 0 / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001293/0.3225, allocations: 0.6922 MB / 0.5693 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3225, allocations: 8.031 kB / 0.5693 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.425e-05/0.3226, allocations: 60.61 kB / 0.5693 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.3231, allocations: 263.7 kB / 0.5696 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.3232, allocations: 33.38 kB / 0.5696 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.3232, allocations: 48.38 kB / 0.5697 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.324, allocations: 471.4 kB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3241, allocations: 0 / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.3241, allocations: 20 kB / 0.5701 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3241, allocations: 12 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.3248, allocations: 320.1 kB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3273, allocations: 1.619 MB / 0.572 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.3279, allocations: 224.9 kB / 0.5722 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3282, allocations: 133.9 kB / 0.5724 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3282, allocations: 7.922 kB / 0.5724 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3282, allocations: 38.5 kB / 0.5724 GB, free: 9.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.3282, allocations: 0 / 0.5724 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002887/0.3311, allocations: 1.127 MB / 0.5735 GB, free: 8.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3312, allocations: 88.95 kB / 0.5736 GB, free: 8.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.3315, allocations: 253.9 kB / 0.5738 GB, free: 7.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3315, allocations: 33.7 kB / 0.5739 GB, free: 7.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3317, allocations: 260.1 kB / 0.5741 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3318, allocations: 130.9 kB / 0.5742 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3319, allocations: 78.08 kB / 0.5743 GB, free: 7.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3321, allocations: 346.8 kB / 0.5746 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.3324, allocations: 108.8 kB / 0.5748 GB, free: 6.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.3327, allocations: 216.3 kB / 0.575 GB, free: 6.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.3333, allocations: 331.3 kB / 0.5753 GB, free: 6.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3333, allocations: 0 / 0.5753 GB, free: 6.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008343/0.3342, allocations: 424.2 kB / 0.5757 GB, free: 5.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3342, allocations: 8 kB / 0.5757 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3342, allocations: 4 kB / 0.5757 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.3343, allocations: 36.77 kB / 0.5757 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.3348, allocations: 123.8 kB / 0.5758 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.336, allocations: 1.335 MB / 0.5771 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.3363, allocations: 16.06 kB / 0.5772 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.3363, allocations: 23.98 kB / 0.5772 GB, free: 4.156 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.3365, allocations: 169.6 kB / 0.5773 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.3366, allocations: 31.81 kB / 0.5774 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.675e-05/0.3367, allocations: 38.11 kB / 0.5774 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3367, allocations: 4 kB / 0.5774 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3367, allocations: 4 kB / 0.5774 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3367, allocations: 4 kB / 0.5774 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3378, allocations: 0.6716 MB / 0.5781 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3378, allocations: 7.938 kB / 0.5781 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.3382, allocations: 92 kB / 0.5782 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.631e-05/0.3383, allocations: 28.78 kB / 0.5782 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3383, allocations: 11.94 kB / 0.5782 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3394, allocations: 1.327 MB / 0.5795 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3394, allocations: 3.938 kB / 0.5795 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3404, allocations: 0.6009 MB / 0.5801 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3405, allocations: 47.77 kB / 0.5801 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.3405, allocations: 8 kB / 0.5802 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.3408, allocations: 23.98 kB / 0.5802 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.3409, allocations: 27.89 kB / 0.5802 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3409, allocations: 12 kB / 0.5802 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3411, allocations: 181.2 kB / 0.5804 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3411, allocations: 0 / 0.5804 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.3416, allocations: 95.94 kB / 0.5805 GB, free: 0.5703 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.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 (32): * Single equations (assignments): 31 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.3417, allocations: 111.1 kB / 0.5806 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008475/0.3425, allocations: 400.3 kB / 0.581 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3425, allocations: 0 / 0.581 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.343, allocations: 243.4 kB / 0.5812 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.3434, allocations: 44.48 kB / 0.5812 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.3451, allocations: 0.9609 MB / 0.5822 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3455, allocations: 0.8074 MB / 0.583 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.3456, allocations: 31.42 kB / 0.583 GB, free: 13.89 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3456, allocations: 4 kB / 0.583 GB, free: 13.89 MB / 430.1 MB Notification: Performance of Templates: time 0.008591/0.3542, allocations: 6.004 MB / 0.5889 GB, free: 7.895 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.841308169066906]