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.001802/0.001802, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002355/0.002355, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.574/1.574, allocations: 230.5 MB / 257.4 MB, free: 7.969 MB / 206.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.2843/0.2843, allocations: 46.94 MB / 360.8 MB, free: 4.141 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 83.86 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4069, allocations: 66.08 MB / 0.5607 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003215/0.4102, allocations: 1.743 MB / 0.5624 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.4103, allocations: 71.73 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.4104, allocations: 0 / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.4105, allocations: 27.78 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.4105, allocations: 19.73 kB / 0.5625 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001/0.4106, allocations: 27.97 kB / 0.5626 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.4108, allocations: 103.6 kB / 0.5627 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.411, allocations: 45.78 kB / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.411, allocations: 39.86 kB / 0.5627 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.4111, allocations: 47.78 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.4112, allocations: 12 kB / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.4112, allocations: 8 kB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.4112, allocations: 23.92 kB / 0.5628 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.4113, allocations: 55.78 kB / 0.5629 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.4115, allocations: 115.5 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4115, allocations: 0 / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4115, allocations: 4 kB / 0.563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4115, allocations: 0 / 0.563 GB, free: 1.926 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.0005187/0.412, allocations: 326.2 kB / 0.5633 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.412, allocations: 12.03 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.4121, allocations: 38.73 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.4121, allocations: 16.84 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.4123, allocations: 118.4 kB / 0.5635 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4123, allocations: 8.609 kB / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.4123, allocations: 12.38 kB / 0.5635 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.4125, allocations: 129.5 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4126, allocations: 7.922 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4126, allocations: 8 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4126, allocations: 0 / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4127, allocations: 67.97 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.4136, allocations: 0.6992 MB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.4137, allocations: 169.1 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.4137, allocations: 80.14 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.4138, allocations: 79.28 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.438e-05/0.4138, allocations: 109.8 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4138, allocations: 0 / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.4139, allocations: 29.7 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.414, allocations: 126.7 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4141, allocations: 151.9 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4142, allocations: 29.64 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.4143, allocations: 131.8 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.4143, allocations: 3.984 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.4143, allocations: 21.67 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4144, allocations: 326.8 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.4145, allocations: 8 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.4145, allocations: 41.09 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.4146, allocations: 61.02 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4146, allocations: 0 / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001487/0.4147, allocations: 73.56 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4148, allocations: 8 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4148, allocations: 0 / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4148, allocations: 4 kB / 0.5658 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.4148, allocations: 12 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4149, allocations: 3.938 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.4149, allocations: 11.89 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4149, allocations: 4 kB / 0.5658 GB, free: 14.78 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.0001464/0.4151, allocations: 198.6 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.4151, allocations: 114 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.4152, allocations: 120.5 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/0.4153, allocations: 176.3 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/0.4154, allocations: 180.2 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-05/0.4155, allocations: 184.1 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.4158, allocations: 412.3 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/0.4159, allocations: 108.9 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.4159, allocations: 101 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-05/0.416, allocations: 180.4 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.4161, allocations: 180.2 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.926e-05/0.4162, allocations: 188.3 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-05/0.4163, allocations: 180.2 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.4165, allocations: 311.7 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.4166, allocations: 112.9 kB / 0.5684 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4167, allocations: 188.4 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4168, allocations: 112.9 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4169, allocations: 176.3 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.417, allocations: 112.8 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.844e-05/0.4171, allocations: 117.5 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4171, allocations: 0 / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4173, allocations: 15.94 kB / 0.5691 GB, free: 11.19 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.0005132/0.4178, allocations: 0.8087 MB / 0.5699 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.593e-05/0.4179, allocations: 15.94 kB / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4179, allocations: 0 / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.4179, allocations: 384 / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.4183, allocations: 471.6 kB / 0.5704 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.4199, allocations: 1.58 MB / 0.5719 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4202, allocations: 0.7002 MB / 0.5726 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.4202, allocations: 4 kB / 0.5726 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.4203, allocations: 23.42 kB / 0.5726 GB, free: 7.426 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4203, allocations: 0 / 0.5726 GB, free: 7.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.4492, allocations: 1.734 MB / 0.5743 GB, free: 5.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.34, allocations: 12 kB / 0.5743 GB, free: 5.781 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] 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: 14.513289171038195]