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.001411/0.001411, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00166/0.00166, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.332/1.332, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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.21/0.21, allocations: 46.93 MB / 361.5 MB, free: 4.172 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.002161/0.002161, allocations: 83.86 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2916, allocations: 66.08 MB / 0.5619 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002891/0.2945, allocations: 1.747 MB / 0.5636 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.2947, allocations: 75.72 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.2947, allocations: 4 kB / 0.5637 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.127e-05/0.2948, allocations: 19.8 kB / 0.5637 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.2948, allocations: 19.78 kB / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.204e-05/0.2949, allocations: 23.97 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.295, allocations: 103.5 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2952, allocations: 47.94 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.2952, allocations: 39.86 kB / 0.564 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.2953, allocations: 51.78 kB / 0.564 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2954, allocations: 12 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.2954, allocations: 8 kB / 0.564 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.2954, allocations: 23.92 kB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.2955, allocations: 51.8 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2956, allocations: 121.9 kB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2956, allocations: 0 / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2956, allocations: 0 / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2956, allocations: 0 / 0.5642 GB, free: 1.891 MB / 398.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.0004565/0.2961, allocations: 330.2 kB / 0.5645 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2961, allocations: 8.031 kB / 0.5645 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.2962, allocations: 16.84 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2963, allocations: 114.4 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2963, allocations: 8.609 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2963, allocations: 12.38 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.2965, allocations: 129.5 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2965, allocations: 192 / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.2966, allocations: 11.94 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2966, allocations: 0 / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2967, allocations: 75.91 kB / 0.5649 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.2975, allocations: 0.6836 MB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.2976, allocations: 169.1 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.2976, allocations: 84.14 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.2976, allocations: 75.28 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.366e-05/0.2977, allocations: 109.8 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2977, allocations: 0 / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.954e-05/0.2978, allocations: 37.64 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.2979, allocations: 130.6 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.298, allocations: 155.8 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.298, allocations: 25.7 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.2981, allocations: 123.9 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.2981, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.2981, allocations: 21.67 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2983, allocations: 322.8 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.2983, allocations: 8 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.2983, allocations: 41.16 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.2984, allocations: 68.95 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2984, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001406/0.2985, allocations: 69.56 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2986, allocations: 8 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2986, allocations: 0 / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2986, allocations: 4.188 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.2986, allocations: 12 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2986, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.2987, allocations: 11.89 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2987, allocations: 8.062 kB / 0.567 GB, free: 14.81 MB / 414.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 0.0001177/0.2988, allocations: 197.1 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.2989, allocations: 122 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.299, allocations: 112.6 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.948e-05/0.299, allocations: 188.2 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.329e-05/0.2991, allocations: 180.2 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.897e-05/0.2992, allocations: 184.2 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.2995, allocations: 408.2 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/0.2995, allocations: 105 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.2996, allocations: 108.9 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.97e-05/0.2996, allocations: 176.4 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.2997, allocations: 180.2 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.494e-05/0.2998, allocations: 192.3 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/0.2999, allocations: 176.3 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3, allocations: 311.7 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.3001, allocations: 120.9 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.3002, allocations: 180.3 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.3003, allocations: 101 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.3004, allocations: 188.1 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.3004, allocations: 109 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.3005, allocations: 117.7 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3005, allocations: 0 / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3007, allocations: 15.94 kB / 0.5703 GB, free: 11.21 MB / 414.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.0001182/0.3008, allocations: 166.5 kB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.3009, allocations: 23.92 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3009, allocations: 4.375 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/0.3009, allocations: 3.938 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3013, allocations: 455.7 kB / 0.5709 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.3017, allocations: 268.5 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.302, allocations: 0.7002 MB / 0.5719 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.3021, allocations: 7.438 kB / 0.5719 GB, free: 9.527 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3021, allocations: 3.938 kB / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of Templates: time 0.002114/0.3042, allocations: 0.8484 MB / 0.5727 GB, free: 8.672 MB / 414.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 -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: 6.665525079006329]