Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.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.0019/0.0019, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.002173/0.002173, allocations: 160.8 kB / 24.5 MB, free: 3.719 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.526/1.526, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.222/0.222, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.89 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.372, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002638/0.3746, allocations: 1.677 MB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001611/0.3748, allocations: 71.62 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.3749, allocations: 3.281 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.048e-05/0.3749, allocations: 14.3 kB / 0.4989 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.375, allocations: 26.48 kB / 0.499 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.004e-05/0.3751, allocations: 21.86 kB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3752, allocations: 104.3 kB / 0.4991 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3754, allocations: 45.98 kB / 0.4991 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.3755, allocations: 42.38 kB / 0.4992 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.3756, allocations: 31.31 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.3756, allocations: 9.594 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.3756, allocations: 9.625 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.3756, allocations: 29.77 kB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.3757, allocations: 42.98 kB / 0.4993 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3758, allocations: 121 kB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3758, allocations: 0 / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3758, allocations: 3.125 kB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3758, allocations: 0 / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004649/0.3763, allocations: 329.1 kB / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3764, allocations: 9.531 kB / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3764, allocations: 20 kB / 0.4997 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.3765, allocations: 120.1 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3765, allocations: 7.797 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3765, allocations: 13.66 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3767, allocations: 128.7 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3767, allocations: 192 / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3767, allocations: 3.938 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3767, allocations: 3.188 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3768, allocations: 73.67 kB / 0.5001 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.3774, allocations: 0.6246 MB / 0.5007 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.1e-05/0.3775, allocations: 168.3 kB / 0.5008 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.3775, allocations: 80.14 kB / 0.5009 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3775, allocations: 79.28 kB / 0.501 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3776, allocations: 109.2 kB / 0.5011 GB, free: 26.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3776, allocations: 0 / 0.5011 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.891e-05/0.3776, allocations: 36.47 kB / 0.5011 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3777, allocations: 130.7 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.3778, allocations: 125.5 kB / 0.5014 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.3778, allocations: 25.7 kB / 0.5014 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.3778, allocations: 129.2 kB / 0.5015 GB, free: 26.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.3778, allocations: 0 / 0.5015 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3778, allocations: 20.53 kB / 0.5016 GB, free: 26.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.3779, allocations: 330 kB / 0.5019 GB, free: 26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.3779, allocations: 3.406 kB / 0.5019 GB, free: 26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.3779, allocations: 46.11 kB / 0.5019 GB, free: 25.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.378, allocations: 54.78 kB / 0.502 GB, free: 25.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.378, allocations: 0 / 0.502 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001459/0.3781, allocations: 74.48 kB / 0.502 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3781, allocations: 8.688 kB / 0.502 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3782, allocations: 0 / 0.502 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3782, allocations: 3.281 kB / 0.502 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.3782, allocations: 12.94 kB / 0.5021 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3782, allocations: 384 / 0.5021 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.3783, allocations: 6.984 kB / 0.5021 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3783, allocations: 3.344 kB / 0.5021 GB, free: 25.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.3784, allocations: 208.5 kB / 0.5023 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.3784, allocations: 116.2 kB / 0.5024 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.3784, allocations: 111.7 kB / 0.5025 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.3784, allocations: 183.6 kB / 0.5027 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-05/0.3785, allocations: 180.3 kB / 0.5028 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.3785, allocations: 180.2 kB / 0.503 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3786, allocations: 379.5 kB / 0.5034 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.3787, allocations: 104.2 kB / 0.5035 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.3787, allocations: 104.9 kB / 0.5036 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.3787, allocations: 179.7 kB / 0.5037 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3787, allocations: 191.7 kB / 0.5039 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.7e-05/0.3788, allocations: 184.3 kB / 0.5041 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.61e-05/0.3788, allocations: 187.7 kB / 0.5043 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.291e-05/0.3789, allocations: 314 kB / 0.5046 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.3789, allocations: 104.9 kB / 0.5047 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.3789, allocations: 183.4 kB / 0.5048 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.379, allocations: 104.9 kB / 0.5049 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.379, allocations: 182.8 kB / 0.5051 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.379, allocations: 101 kB / 0.5052 GB, free: 22.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.3791, allocations: 96.73 kB / 0.5053 GB, free: 22.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3791, allocations: 0 / 0.5053 GB, free: 22.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3793, allocations: 24.89 kB / 0.5053 GB, free: 22.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.611e-05/0.3794, allocations: 171.7 kB / 0.5055 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.143e-05/0.3795, allocations: 27.92 kB / 0.5055 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3795, allocations: 0 / 0.5055 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3795, allocations: 0 / 0.5055 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3797, allocations: 462.9 kB / 0.506 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3801, allocations: 245.8 kB / 0.5062 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.3801, allocations: 81.02 kB / 0.5063 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.3801, allocations: 3.469 kB / 0.5063 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.3801, allocations: 11.66 kB / 0.5063 GB, free: 21.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3801, allocations: 0 / 0.5063 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002418/0.3826, allocations: 265.5 kB / 0.5065 GB, free: 21.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.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.002268774900585]