Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001318/0.001318, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001489/0.001489, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2403/0.2403, allocations: 46.92 MB / 361.6 MB, free: 4.301 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 79.88 kB / 0.4974 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3877, allocations: 66.09 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003264/0.3909, allocations: 1.744 MB / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001888/0.3911, allocations: 75.67 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.3912, allocations: 4 kB / 0.5638 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.709e-05/0.3913, allocations: 15.84 kB / 0.5638 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.3913, allocations: 23.78 kB / 0.5638 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.838e-05/0.3914, allocations: 23.97 kB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3916, allocations: 107.5 kB / 0.5639 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.3918, allocations: 43.94 kB / 0.564 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.3918, allocations: 39.88 kB / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.392, allocations: 51.77 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.392, allocations: 12 kB / 0.5641 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.392, allocations: 12 kB / 0.5641 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.392, allocations: 19.98 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.3921, allocations: 55.72 kB / 0.5641 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3923, allocations: 118.1 kB / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3923, allocations: 0 / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3923, allocations: 0 / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3923, allocations: 0 / 0.5643 GB, free: 1.906 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.0005944/0.3929, allocations: 330.2 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.393, allocations: 12.03 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.393, allocations: 12.84 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3931, allocations: 114.4 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3932, allocations: 8.609 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3932, allocations: 12.38 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.3935, allocations: 125.6 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3935, allocations: 192 / 0.5648 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3935, allocations: 7.938 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.3935, allocations: 4 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3936, allocations: 71.91 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.3945, allocations: 0.6837 MB / 0.5656 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3947, allocations: 173.1 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.3947, allocations: 80.14 kB / 0.5658 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.3948, allocations: 75.28 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.202e-05/0.3948, allocations: 113.8 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3948, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.958e-05/0.3949, allocations: 37.62 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.395, allocations: 130.7 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3952, allocations: 159.8 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3952, allocations: 29.7 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.3953, allocations: 119.8 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.3953, allocations: 4 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3954, allocations: 29.61 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3955, allocations: 318.7 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.3955, allocations: 11.98 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.3956, allocations: 45.16 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.3957, allocations: 49.09 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3957, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001876/0.3959, allocations: 81.5 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3959, allocations: 7.984 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3959, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3959, allocations: 4 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.396, allocations: 8.188 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.396, allocations: 8 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.396, allocations: 11.89 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.396, allocations: 3.938 kB / 0.567 GB, free: 14.82 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.0001404/0.3962, allocations: 189.2 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.3963, allocations: 121.9 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/0.3964, allocations: 116.6 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.704e-05/0.3965, allocations: 184.2 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.611e-05/0.3966, allocations: 176.3 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.741e-05/0.3966, allocations: 184.2 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.397, allocations: 416.1 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.061e-05/0.397, allocations: 101 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.3971, allocations: 104.9 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.3972, allocations: 184.4 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.3973, allocations: 176.3 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.3974, allocations: 184.2 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.249e-05/0.3975, allocations: 180.2 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.3977, allocations: 319.7 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.3978, allocations: 108.9 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3979, allocations: 192.2 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.398, allocations: 101.1 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.3981, allocations: 180.2 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.3981, allocations: 109 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3982, allocations: 119.2 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3985, allocations: 15.94 kB / 0.5703 GB, free: 11.23 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.0001247/0.3986, allocations: 174.5 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3987, allocations: 15.94 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3987, allocations: 0 / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.3987, allocations: 384 / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3991, allocations: 470 kB / 0.571 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.3996, allocations: 242.8 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3999, allocations: 0.7001 MB / 0.5719 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.4, allocations: 4 kB / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.4, allocations: 7.438 kB / 0.5719 GB, free: 9.566 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4, allocations: 0 / 0.5719 GB, free: 9.566 MB / 414.1 MB Notification: Performance of Templates: time 0.002845/0.4028, allocations: 444.7 kB / 0.5723 GB, free: 9.133 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.222129885107279]