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.001277/0.001277, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001295/0.001295, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.375/1.375, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.2426/0.2426, allocations: 46.94 MB / 361.6 MB, free: 3.938 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 75.88 kB / 0.4969 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 66.08 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002941/0.3025, allocations: 1.655 MB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.3026, allocations: 83.7 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.3027, allocations: 0 / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.969e-05/0.3027, allocations: 15.86 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.3028, allocations: 19.78 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.283e-05/0.3029, allocations: 23.97 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.303, allocations: 103.5 kB / 0.5633 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3032, allocations: 57.14 kB / 0.5633 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.3032, allocations: 39.86 kB / 0.5634 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.3033, allocations: 43.84 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3033, allocations: 12 kB / 0.5634 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.3034, allocations: 8 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.3034, allocations: 23.92 kB / 0.5635 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.3034, allocations: 43.8 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3036, allocations: 123.5 kB / 0.5636 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3036, allocations: 4 kB / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3036, allocations: 0 / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3036, allocations: 0 / 0.5636 GB, free: 1.793 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.0004664/0.3041, allocations: 326.2 kB / 0.5639 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3041, allocations: 15.97 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.65e-05/0.3041, allocations: 4.422 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.3042, allocations: 42.73 kB / 0.564 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.3042, allocations: 16.84 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3043, allocations: 118.4 kB / 0.5641 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3043, allocations: 8.609 kB / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3043, allocations: 8.375 kB / 0.5641 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.3046, allocations: 133.3 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3046, allocations: 0 / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3046, allocations: 8 kB / 0.5643 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3046, allocations: 4 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3047, allocations: 67.91 kB / 0.5643 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.3055, allocations: 0.668 MB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.3056, allocations: 169.1 kB / 0.5652 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.3057, allocations: 80.14 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.3057, allocations: 75.28 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.3057, allocations: 113.8 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3057, allocations: 4 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.92e-05/0.3058, allocations: 33.64 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.3059, allocations: 130.7 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.306, allocations: 155.3 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.306, allocations: 29.64 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.3061, allocations: 123.8 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/0.3061, allocations: 0 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.3062, allocations: 25.66 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3063, allocations: 314.8 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.3063, allocations: 4 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.3064, allocations: 49.14 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.3064, allocations: 57.03 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3064, allocations: 0 / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001393/0.3066, allocations: 77.72 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3066, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3066, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3066, allocations: 0 / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.3067, allocations: 11.98 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3067, allocations: 4 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3067, allocations: 11.89 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3067, allocations: 0 / 0.5664 GB, free: 14.68 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.0001111/0.3068, allocations: 198.4 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.3069, allocations: 118 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.307, allocations: 116.6 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/0.307, allocations: 184.2 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.109e-05/0.3071, allocations: 180.2 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-05/0.3072, allocations: 188.1 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.3075, allocations: 408.3 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/0.3075, allocations: 101 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3075, allocations: 104.9 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.581e-05/0.3076, allocations: 180.4 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.3077, allocations: 188.3 kB / 0.5683 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.597e-05/0.3078, allocations: 184.2 kB / 0.5685 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.678e-05/0.3078, allocations: 192.2 kB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.308, allocations: 307.7 kB / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.308, allocations: 120.9 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.3081, allocations: 180.3 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.3082, allocations: 105 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.3083, allocations: 184.1 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3083, allocations: 101 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.3084, allocations: 121.5 kB / 0.5697 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3084, allocations: 0 / 0.5697 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3087, allocations: 15.94 kB / 0.5697 GB, free: 11.08 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.0004245/0.3091, allocations: 0.8126 MB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.3092, allocations: 19.94 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3092, allocations: 0 / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3092, allocations: 0 / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3096, allocations: 463.6 kB / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3109, allocations: 1.582 MB / 0.5725 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.311, allocations: 81.7 kB / 0.5726 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.597e-05/0.311, allocations: 3.984 kB / 0.5726 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.3111, allocations: 23.44 kB / 0.5726 GB, free: 7.938 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3111, allocations: 3.938 kB / 0.5726 GB, free: 7.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.3317, allocations: 1.772 MB / 0.5744 GB, free: 6.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.82, allocations: 18.94 kB / 0.5744 GB, free: 6.262 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: 13.676909363013692]