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.001433/0.001433, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001484/0.001484, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.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.2463/0.2463, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [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.002086/0.002086, allocations: 63.91 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3884, allocations: 65.48 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003844/0.3922, allocations: 1.738 MB / 0.5595 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.3924, allocations: 71.73 kB / 0.5595 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.3925, allocations: 4 kB / 0.5595 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.242e-05/0.3925, allocations: 19.8 kB / 0.5596 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.3926, allocations: 23.78 kB / 0.5596 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.474e-05/0.3927, allocations: 23.91 kB / 0.5596 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3928, allocations: 103.6 kB / 0.5597 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.393, allocations: 49.91 kB / 0.5598 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.393, allocations: 43.86 kB / 0.5598 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.3931, allocations: 47.78 kB / 0.5598 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.3932, allocations: 8 kB / 0.5599 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.3932, allocations: 12 kB / 0.5599 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.3932, allocations: 27.92 kB / 0.5599 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.3933, allocations: 47.8 kB / 0.5599 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3935, allocations: 123.5 kB / 0.5601 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3935, allocations: 0 / 0.5601 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3935, allocations: 0 / 0.5601 GB, free: 5.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3935, allocations: 0 / 0.5601 GB, free: 5.426 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.000569/0.3941, allocations: 322.2 kB / 0.5604 GB, free: 5.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3941, allocations: 8.031 kB / 0.5604 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.875e-05/0.3941, allocations: 8.422 kB / 0.5604 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.3942, allocations: 54.67 kB / 0.5604 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3942, allocations: 12.84 kB / 0.5604 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3944, allocations: 110.5 kB / 0.5605 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3944, allocations: 8.609 kB / 0.5606 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.3944, allocations: 12.38 kB / 0.5606 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.3947, allocations: 133.2 kB / 0.5607 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3947, allocations: 7.938 kB / 0.5607 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.3947, allocations: 4 kB / 0.5607 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3947, allocations: 8 kB / 0.5607 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3949, allocations: 63.97 kB / 0.5608 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008819/0.3958, allocations: 0.6875 MB / 0.5614 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3959, allocations: 173.1 kB / 0.5616 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.3959, allocations: 84.14 kB / 0.5617 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.396, allocations: 83.25 kB / 0.5618 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.396, allocations: 105.8 kB / 0.5619 GB, free: 3.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.396, allocations: 0 / 0.5619 GB, free: 3.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.283e-05/0.3961, allocations: 29.7 kB / 0.5619 GB, free: 3.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.3962, allocations: 130.7 kB / 0.562 GB, free: 3.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3963, allocations: 156.1 kB / 0.5622 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3964, allocations: 25.7 kB / 0.5622 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.3964, allocations: 127.8 kB / 0.5623 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.3964, allocations: 0 / 0.5623 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3965, allocations: 25.61 kB / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3966, allocations: 318.8 kB / 0.5626 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.3967, allocations: 11.98 kB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.3967, allocations: 37.16 kB / 0.5627 GB, free: 2.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.3968, allocations: 61.03 kB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3968, allocations: 0 / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001493/0.3969, allocations: 69.56 kB / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.397, allocations: 11.98 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.397, allocations: 0 / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.397, allocations: 4 kB / 0.5628 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.3971, allocations: 16.12 kB / 0.5628 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3971, allocations: 0 / 0.5628 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.3971, allocations: 11.89 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3971, allocations: 4 kB / 0.5629 GB, free: 2.285 MB / 398.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.0001354/0.3972, allocations: 197.2 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.3973, allocations: 117.9 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.3974, allocations: 112.6 kB / 0.5633 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.668e-05/0.3975, allocations: 184.3 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-05/0.3976, allocations: 180.2 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.592e-05/0.3976, allocations: 188.2 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3979, allocations: 412.1 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-05/0.398, allocations: 101 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.398, allocations: 101.1 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.591e-05/0.3981, allocations: 188.4 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.3982, allocations: 184.3 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-05/0.3983, allocations: 184.2 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.908e-05/0.3984, allocations: 180.2 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3985, allocations: 319.7 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.3986, allocations: 108.9 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.3987, allocations: 188.2 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.3988, allocations: 101 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.3988, allocations: 184.2 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.3989, allocations: 108.9 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.399, allocations: 111.2 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.399, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3992, allocations: 19.94 kB / 0.5662 GB, free: 14.69 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.0004846/0.3997, allocations: 0.8009 MB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3998, allocations: 23.92 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3998, allocations: 0 / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.3998, allocations: 3.938 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.4003, allocations: 459.6 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4021, allocations: 1.596 MB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4025, allocations: 0.6924 MB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.4025, allocations: 3.984 kB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.4026, allocations: 23.44 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4026, allocations: 0 / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.4242, allocations: 1.772 MB / 0.5714 GB, free: 9.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.41, allocations: 10.59 kB / 0.5714 GB, free: 9.293 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] 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: 14.695063494960777]