Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001858/0.001858, allocations: 73.64 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.001804/0.001804, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 32.81 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 63.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4798, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.004251/0.484, allocations: 1.68 MB / 0.4958 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.4842, allocations: 72.64 kB / 0.4958 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.4843, allocations: 3.938 kB / 0.4958 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.378e-05/0.4844, allocations: 22.19 kB / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.4845, allocations: 26.52 kB / 0.4959 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.4846, allocations: 26.19 kB / 0.4959 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4848, allocations: 95.7 kB / 0.496 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.485, allocations: 41.31 kB / 0.4961 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.4851, allocations: 46.22 kB / 0.4961 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.4852, allocations: 39.17 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.4852, allocations: 9.625 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.4852, allocations: 9.875 kB / 0.4962 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.4853, allocations: 22.67 kB / 0.4962 GB, free: 30 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.4853, allocations: 46.14 kB / 0.4962 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.4856, allocations: 125.1 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4856, allocations: 0 / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4856, allocations: 0 / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.4856, allocations: 0 / 0.4963 GB, free: 29.93 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.0006225/0.4862, allocations: 319.6 kB / 0.4966 GB, free: 29.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4863, allocations: 9.844 kB / 0.4967 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.4863, allocations: 14.88 kB / 0.4967 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4864, allocations: 120.8 kB / 0.4968 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4864, allocations: 10.55 kB / 0.4968 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.4865, allocations: 14.5 kB / 0.4968 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.4868, allocations: 131.5 kB / 0.4969 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4868, allocations: 192 / 0.4969 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.4869, allocations: 7.938 kB / 0.4969 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4869, allocations: 3.156 kB / 0.4969 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.487, allocations: 65.36 kB / 0.497 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.4879, allocations: 0.6304 MB / 0.4976 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.488, allocations: 176.4 kB / 0.4978 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.488, allocations: 84.08 kB / 0.4979 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.4881, allocations: 75.28 kB / 0.4979 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4881, allocations: 109 kB / 0.498 GB, free: 28.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.4881, allocations: 0 / 0.498 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001042/0.4882, allocations: 32.31 kB / 0.4981 GB, free: 28.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4883, allocations: 126.7 kB / 0.4982 GB, free: 28.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.4884, allocations: 124.9 kB / 0.4983 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.4884, allocations: 25.7 kB / 0.4983 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.4885, allocations: 133 kB / 0.4985 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.4885, allocations: 3.125 kB / 0.4985 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.4885, allocations: 24.75 kB / 0.4985 GB, free: 27.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.4886, allocations: 321.5 kB / 0.4988 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.4886, allocations: 7.188 kB / 0.4988 GB, free: 27.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.326e-05/0.4887, allocations: 43.02 kB / 0.4988 GB, free: 27.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.4887, allocations: 54 kB / 0.4989 GB, free: 27.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4887, allocations: 4 kB / 0.4989 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002036/0.4889, allocations: 74.3 kB / 0.499 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.489, allocations: 6.375 kB / 0.499 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.489, allocations: 0 / 0.499 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.489, allocations: 3.125 kB / 0.499 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4891, allocations: 13.91 kB / 0.499 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4891, allocations: 3.125 kB / 0.499 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.4892, allocations: 7.422 kB / 0.499 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4892, allocations: 3.438 kB / 0.499 GB, free: 27.37 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 7.434e-05/0.4893, allocations: 200 kB / 0.4992 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.4893, allocations: 109 kB / 0.4993 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.4894, allocations: 122.7 kB / 0.4994 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.4894, allocations: 179.7 kB / 0.4996 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/0.4894, allocations: 180.2 kB / 0.4998 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/0.4895, allocations: 176.3 kB / 0.4999 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4897, allocations: 387.4 kB / 0.5003 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.4897, allocations: 104.2 kB / 0.5004 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.4897, allocations: 101 kB / 0.5005 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.164e-05/0.4898, allocations: 187.7 kB / 0.5007 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4898, allocations: 183.4 kB / 0.5008 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.623e-05/0.4898, allocations: 184.2 kB / 0.501 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.966e-05/0.4899, allocations: 179.5 kB / 0.5012 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.49, allocations: 317.2 kB / 0.5015 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.49, allocations: 101 kB / 0.5016 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.4901, allocations: 191.5 kB / 0.5018 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4902, allocations: 108.2 kB / 0.5019 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4902, allocations: 179.5 kB / 0.5021 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4903, allocations: 104.9 kB / 0.5022 GB, free: 24.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.4903, allocations: 91.84 kB / 0.5022 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4903, allocations: 4 kB / 0.5022 GB, free: 23.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.4908, allocations: 24.8 kB / 0.5023 GB, free: 23.93 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 0.0001012/0.4909, allocations: 167.7 kB / 0.5024 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.491, allocations: 24.25 kB / 0.5024 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.491, allocations: 0 / 0.5024 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.491, allocations: 0 / 0.5024 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.4915, allocations: 458.9 kB / 0.5029 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.492, allocations: 247.4 kB / 0.5031 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.871e-05/0.4921, allocations: 79.95 kB / 0.5032 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.095e-05/0.4921, allocations: 3.25 kB / 0.5032 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.4921, allocations: 8.5 kB / 0.5032 GB, free: 23.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4921, allocations: 0 / 0.5032 GB, free: 23.01 MB / 446.1 MB Notification: Performance of Templates: time 0.003771/0.4959, allocations: 272 kB / 0.5035 GB, free: 22.94 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.069944316986948]