Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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.001599/0.001599, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.00174/0.00174, allocations: 165.2 kB / 24.5 MB, free: 3.453 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.489/1.489, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 34.25 MB / 295.4 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004259/0.004259, allocations: 83.88 kB / 443.1 MB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3671, allocations: 66.04 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002328/0.3694, allocations: 1.69 MB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001447/0.3696, allocations: 80.66 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.3696, allocations: 3.25 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.3697, allocations: 14.81 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.3697, allocations: 26.61 kB / 0.499 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.426e-05/0.3698, allocations: 22.2 kB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3699, allocations: 101 kB / 0.4991 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3701, allocations: 39.3 kB / 0.4992 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.3701, allocations: 43.36 kB / 0.4992 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.3702, allocations: 34.8 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.3702, allocations: 13.72 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.3702, allocations: 12.78 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3702, allocations: 18.73 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.3703, allocations: 51.17 kB / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3704, allocations: 121 kB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3704, allocations: 0 / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3704, allocations: 3.938 kB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3704, 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.0003486/0.3708, allocations: 325 kB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3708, allocations: 13.03 kB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3708, allocations: 15.16 kB / 0.4998 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.457e-05/0.3709, allocations: 109.8 kB / 0.4999 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3709, allocations: 15.16 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3709, allocations: 14.62 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3711, allocations: 126.6 kB / 0.5 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3711, allocations: 192 / 0.5 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3711, allocations: 7.938 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3711, allocations: 3.188 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.3712, allocations: 65.2 kB / 0.5001 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.3718, allocations: 0.6327 MB / 0.5007 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.3718, allocations: 172.4 kB / 0.5009 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.3718, allocations: 84.14 kB / 0.501 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.3718, allocations: 75.28 kB / 0.501 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3718, allocations: 112.1 kB / 0.5012 GB, free: 26.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3718, allocations: 0 / 0.5012 GB, free: 26.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.654e-05/0.3719, allocations: 28.55 kB / 0.5012 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.3719, allocations: 126.7 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.372, allocations: 137 kB / 0.5014 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-06/0.372, allocations: 25.7 kB / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.372, allocations: 129 kB / 0.5016 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.3721, allocations: 0 / 0.5016 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.3721, allocations: 27.34 kB / 0.5016 GB, free: 26.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.3721, allocations: 318.8 kB / 0.5019 GB, free: 26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.3721, allocations: 9.922 kB / 0.5019 GB, free: 26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.3722, allocations: 39.59 kB / 0.502 GB, free: 25.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.3722, allocations: 54.12 kB / 0.502 GB, free: 25.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3722, allocations: 0 / 0.502 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001112/0.3723, allocations: 74.55 kB / 0.5021 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3723, allocations: 6.438 kB / 0.5021 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3723, allocations: 3.25 kB / 0.5021 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3723, allocations: 0 / 0.5021 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.3724, allocations: 13.72 kB / 0.5021 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3724, allocations: 128 / 0.5021 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.3724, allocations: 14.53 kB / 0.5021 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3725, allocations: 3.188 kB / 0.5021 GB, free: 25.82 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 5.455e-05/0.3725, allocations: 203.3 kB / 0.5023 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3725, allocations: 112 kB / 0.5024 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.3726, allocations: 111.5 kB / 0.5025 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.3726, allocations: 179.6 kB / 0.5027 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.3726, allocations: 180.2 kB / 0.5029 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.3726, allocations: 183.4 kB / 0.503 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3728, allocations: 380.4 kB / 0.5034 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.3728, allocations: 104.5 kB / 0.5035 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3728, allocations: 104.2 kB / 0.5036 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/0.3728, allocations: 180.4 kB / 0.5038 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.3728, allocations: 187.7 kB / 0.504 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-05/0.3729, allocations: 188.2 kB / 0.5041 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.146e-05/0.3729, allocations: 179.7 kB / 0.5043 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.882e-05/0.3729, allocations: 314 kB / 0.5046 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.373, allocations: 107.6 kB / 0.5047 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.373, allocations: 187.6 kB / 0.5049 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.373, allocations: 101 kB / 0.505 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3731, allocations: 180.2 kB / 0.5052 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3731, allocations: 108 kB / 0.5053 GB, free: 22.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.3731, allocations: 95.97 kB / 0.5054 GB, free: 22.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3731, allocations: 0 / 0.5054 GB, free: 22.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.3734, allocations: 24.8 kB / 0.5054 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.429e-05/0.3734, allocations: 171 kB / 0.5055 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.3735, allocations: 17.53 kB / 0.5056 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3735, allocations: 0 / 0.5056 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.3735, allocations: 0 / 0.5056 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.3738, allocations: 466.9 kB / 0.506 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.374, allocations: 241.2 kB / 0.5062 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.3741, allocations: 87.19 kB / 0.5063 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.824e-05/0.3741, allocations: 3.156 kB / 0.5063 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.3741, allocations: 8.5 kB / 0.5063 GB, free: 21.46 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3741, allocations: 0 / 0.5063 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Templates: time 0.00217/0.3763, allocations: 270.6 kB / 0.5066 GB, free: 21.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.945601998013444]