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.00183/0.00183, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002257/0.002257, allocations: 211.8 kB / 24.54 MB, free: 4.02 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.417/1.417, allocations: 230.3 MB / 258 MB, free: 8.195 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.2194/0.2194, allocations: 46.89 MB / 361.3 MB, free: 4.426 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.002339/0.002339, allocations: 87.86 kB / 0.4966 GB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3228, allocations: 66.02 MB / 0.561 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003789/0.3266, allocations: 1.743 MB / 0.5627 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000168/0.3268, allocations: 67.73 kB / 0.5628 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.3268, allocations: 4 kB / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.951e-05/0.3269, allocations: 23.78 kB / 0.5628 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.327, allocations: 23.77 kB / 0.5628 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.3271, allocations: 23.98 kB / 0.5629 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.3273, allocations: 103.6 kB / 0.563 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.3275, allocations: 41.94 kB / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.3276, allocations: 43.86 kB / 0.5631 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3277, allocations: 55.75 kB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3277, allocations: 12 kB / 0.5631 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.3277, allocations: 8 kB / 0.5631 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3278, allocations: 23.92 kB / 0.5631 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.3278, allocations: 43.81 kB / 0.5632 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.328, allocations: 123.5 kB / 0.5633 GB, free: 2.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.328, allocations: 0 / 0.5633 GB, free: 2.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.328, allocations: 0 / 0.5633 GB, free: 2.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.328, allocations: 0 / 0.5633 GB, free: 2.32 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.0006308/0.3287, allocations: 403.3 kB / 0.5637 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3287, allocations: 12.02 kB / 0.5637 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.3288, allocations: 46.69 kB / 0.5637 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3288, allocations: 20.84 kB / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.329, allocations: 168.3 kB / 0.5639 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.329, allocations: 8.609 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.329, allocations: 12.38 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3292, allocations: 133.5 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3292, allocations: 11.92 kB / 0.5641 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3292, allocations: 4 kB / 0.5641 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3292, allocations: 4 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3294, allocations: 59.98 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.3302, allocations: 0.7313 MB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.3303, allocations: 169.1 kB / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.3304, allocations: 88.14 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.3304, allocations: 75.28 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.3304, allocations: 105.8 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3304, allocations: 4 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.655e-05/0.3305, allocations: 29.7 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.3306, allocations: 130.6 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3308, allocations: 151.7 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3308, allocations: 25.7 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.3309, allocations: 123.9 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/0.3309, allocations: 0 / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3309, allocations: 25.61 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3311, allocations: 330.7 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.3311, allocations: 4 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.3311, allocations: 41.16 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.3312, allocations: 61.08 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3312, allocations: 0 / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001494/0.3314, allocations: 69.56 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3314, allocations: 8 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3314, allocations: 4.188 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3314, allocations: 0 / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.3315, allocations: 15.94 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3315, allocations: 0 / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.3315, allocations: 15.83 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.3315, allocations: 4 kB / 0.5663 GB, free: 14.97 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.0001282/0.3317, allocations: 198.4 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.3317, allocations: 110 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.3318, allocations: 120.5 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/0.3319, allocations: 180.3 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.468e-05/0.332, allocations: 188.2 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/0.332, allocations: 180.2 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.3324, allocations: 437.1 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/0.3324, allocations: 105 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.3325, allocations: 105 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-05/0.3325, allocations: 180.4 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.3326, allocations: 188.4 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.233e-05/0.3327, allocations: 184.2 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.692e-05/0.3328, allocations: 180.3 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.333, allocations: 315.7 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3331, allocations: 190 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3332, allocations: 180.2 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.3333, allocations: 101 kB / 0.5693 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.3334, allocations: 192.2 kB / 0.5695 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.3334, allocations: 116.8 kB / 0.5696 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.577e-05/0.3335, allocations: 105.5 kB / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3335, allocations: 0 / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.3337, allocations: 19.94 kB / 0.5697 GB, free: 11.25 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.0005195/0.3343, allocations: 0.8048 MB / 0.5705 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.605e-05/0.3344, allocations: 19.94 kB / 0.5705 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3344, allocations: 0 / 0.5705 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.3344, allocations: 3.938 kB / 0.5705 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3348, allocations: 471.9 kB / 0.571 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3363, allocations: 1.58 MB / 0.5725 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3367, allocations: 0.6963 MB / 0.5732 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.072e-05/0.3367, allocations: 0 / 0.5732 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.3367, allocations: 31.42 kB / 0.5732 GB, free: 7.488 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3367, allocations: 0 / 0.5732 GB, free: 7.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.3608, allocations: 1.623 MB / 0.5748 GB, free: 5.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.194, allocations: 7.031 kB / 0.5748 GB, free: 5.926 MB / 414.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gyrator.v1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.110316579928622]