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.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001501/0.001501, allocations: 214.9 kB / 23.73 MB, free: 4.16 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2404/0.2404, allocations: 46.95 MB / 360.8 MB, free: 3.945 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="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.002301/0.002301, allocations: 79.88 kB / 0.4961 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003152/0.3312, allocations: 1.674 MB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001737/0.3314, allocations: 75.67 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.3314, allocations: 4 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.326e-05/0.3315, allocations: 11.86 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.3316, allocations: 27.77 kB / 0.5624 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.387e-05/0.3317, allocations: 19.97 kB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3318, allocations: 111.5 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.332, allocations: 41.8 kB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.332, allocations: 39.86 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.3321, allocations: 43.77 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3321, allocations: 12 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.3322, allocations: 12 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.3322, allocations: 27.86 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.3322, allocations: 43.8 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3324, allocations: 119.6 kB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3324, allocations: 0 / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3324, allocations: 4 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3324, allocations: 0 / 0.5629 GB, free: 1.773 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.0004689/0.3329, allocations: 322.2 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3329, allocations: 8.031 kB / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.333, allocations: 46.73 kB / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.333, allocations: 16.84 kB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3331, allocations: 114.4 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3331, allocations: 8.609 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3331, allocations: 12.38 kB / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3333, allocations: 129.5 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3334, allocations: 7.938 kB / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3334, allocations: 8 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3334, allocations: 0 / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3335, allocations: 67.91 kB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.3344, allocations: 0.668 MB / 0.5642 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3345, allocations: 169.1 kB / 0.5644 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.3345, allocations: 84.14 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3346, allocations: 75.28 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.3346, allocations: 109.8 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.3346, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.667e-05/0.3347, allocations: 37.62 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.3348, allocations: 126.7 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3349, allocations: 151.7 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.335, allocations: 25.7 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.3351, allocations: 127.8 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.3351, allocations: 0 / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3351, allocations: 21.7 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3352, allocations: 322.8 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.3353, allocations: 4 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.3353, allocations: 53.14 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.3354, allocations: 53.03 kB / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3354, allocations: 0 / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001523/0.3355, allocations: 77.61 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3356, allocations: 8 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3356, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3356, allocations: 4 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.3357, allocations: 11.98 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3357, allocations: 0 / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.3357, allocations: 15.83 kB / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.3357, allocations: 8 kB / 0.5656 GB, free: 14.66 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.0001123/0.3358, allocations: 197 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.3359, allocations: 110 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.336, allocations: 120.7 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-05/0.336, allocations: 184.2 kB / 0.5662 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-05/0.3361, allocations: 180.4 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-05/0.3362, allocations: 192.1 kB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3365, allocations: 404.3 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/0.3365, allocations: 101 kB / 0.5671 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.3366, allocations: 108.9 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.731e-05/0.3366, allocations: 180.4 kB / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.981e-05/0.3367, allocations: 184.2 kB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.974e-05/0.3368, allocations: 192.2 kB / 0.5677 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.573e-05/0.3369, allocations: 176.3 kB / 0.5679 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3371, allocations: 319.7 kB / 0.5682 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.3371, allocations: 116.9 kB / 0.5683 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.3372, allocations: 180.3 kB / 0.5685 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.3373, allocations: 101 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.3374, allocations: 188.2 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.3375, allocations: 108.9 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.183e-05/0.3375, allocations: 109.5 kB / 0.5689 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3375, allocations: 0 / 0.5689 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3378, allocations: 12 kB / 0.569 GB, free: 11.07 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.0004464/0.3383, allocations: 0.8126 MB / 0.5697 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.906e-05/0.3383, allocations: 19.94 kB / 0.5698 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3383, allocations: 0 / 0.5698 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3383, allocations: 0 / 0.5698 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3387, allocations: 463.6 kB / 0.5702 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3403, allocations: 1.583 MB / 0.5718 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3404, allocations: 85.69 kB / 0.5718 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.3404, allocations: 4 kB / 0.5718 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.3405, allocations: 23.42 kB / 0.5719 GB, free: 7.934 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3405, allocations: 0 / 0.5719 GB, free: 7.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.3692, allocations: 2.112 MB / 0.5739 GB, free: 5.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.27, allocations: 2.969 kB / 0.5739 GB, free: 5.918 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.090505581814796]