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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2839, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002592/0.2865, allocations: 1.735 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.2867, allocations: 77.3 kB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.2867, allocations: 2.656 kB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.2868, allocations: 18.75 kB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.2869, allocations: 20.72 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.006e-05/0.287, allocations: 27.28 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2871, allocations: 105 kB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2872, allocations: 59.59 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.2873, allocations: 43.61 kB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.2874, allocations: 43.41 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2874, allocations: 14.97 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.2874, allocations: 10.28 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.2874, allocations: 22.53 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.2875, allocations: 52.48 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2876, allocations: 119 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2877, allocations: 0 / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2877, allocations: 0 / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.2877, allocations: 5.25 kB / 0.5328 GB, free: 11.62 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.0004339/0.2881, allocations: 397.1 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2882, allocations: 10 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.2882, allocations: 46.02 kB / 0.5332 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.2882, allocations: 14.44 kB / 0.5332 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2884, allocations: 175.6 kB / 0.5334 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2884, allocations: 9.141 kB / 0.5334 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.2884, allocations: 15.45 kB / 0.5334 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.2886, allocations: 135.7 kB / 0.5335 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2886, allocations: 3.938 kB / 0.5335 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2887, allocations: 1.344 kB / 0.5335 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2887, allocations: 3.469 kB / 0.5336 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2888, allocations: 73.16 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.2895, allocations: 0.7229 MB / 0.5343 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.2896, allocations: 166.6 kB / 0.5345 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.2896, allocations: 80.14 kB / 0.5346 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2897, allocations: 75.28 kB / 0.5346 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.2897, allocations: 115.3 kB / 0.5347 GB, free: 9.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.2897, allocations: 0 / 0.5347 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.594e-05/0.2898, allocations: 32.64 kB / 0.5348 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2899, allocations: 132.2 kB / 0.5349 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.29, allocations: 151.9 kB / 0.535 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.29, allocations: 25.7 kB / 0.5351 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.2901, allocations: 130.2 kB / 0.5352 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.2901, allocations: 4 kB / 0.5352 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.2901, allocations: 26.33 kB / 0.5352 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.2902, allocations: 317.2 kB / 0.5355 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.2903, allocations: 11.2 kB / 0.5355 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.2903, allocations: 39.97 kB / 0.5356 GB, free: 8.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.2904, allocations: 60.09 kB / 0.5356 GB, free: 8.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2904, allocations: 0 / 0.5356 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001348/0.2905, allocations: 75.03 kB / 0.5357 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2905, allocations: 9.484 kB / 0.5357 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2906, allocations: 5.312 kB / 0.5357 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2906, allocations: 2.75 kB / 0.5357 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.2906, allocations: 8.25 kB / 0.5357 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2906, allocations: 1.375 kB / 0.5357 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.2907, allocations: 12.14 kB / 0.5357 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2907, allocations: 6.75 kB / 0.5357 GB, free: 8.617 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.0001017/0.2908, allocations: 198.7 kB / 0.5359 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.2909, allocations: 111.7 kB / 0.536 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.2909, allocations: 115.4 kB / 0.5362 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/0.291, allocations: 181.6 kB / 0.5363 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.978e-05/0.2911, allocations: 177.6 kB / 0.5365 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-05/0.2911, allocations: 188.2 kB / 0.5367 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2914, allocations: 445.6 kB / 0.5371 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.529e-05/0.2914, allocations: 102.4 kB / 0.5372 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.2914, allocations: 104.9 kB / 0.5373 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-05/0.2915, allocations: 177.8 kB / 0.5375 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.2916, allocations: 185.6 kB / 0.5376 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-05/0.2916, allocations: 181.6 kB / 0.5378 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.782e-05/0.2917, allocations: 184.2 kB / 0.538 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2918, allocations: 310.5 kB / 0.5383 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.2919, allocations: 195.3 kB / 0.5385 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.292, allocations: 177.6 kB / 0.5386 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.2921, allocations: 106.4 kB / 0.5387 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.2921, allocations: 180.2 kB / 0.5389 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.2922, allocations: 106.3 kB / 0.539 GB, free: 5.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.2922, allocations: 113.1 kB / 0.5391 GB, free: 4.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2922, allocations: 1.375 kB / 0.5391 GB, free: 4.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.2925, allocations: 16.31 kB / 0.5391 GB, free: 4.988 MB / 398.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.0003556/0.2929, allocations: 0.8196 MB / 0.5399 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.926e-05/0.2929, allocations: 18.94 kB / 0.54 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2929, allocations: 0 / 0.54 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.293, allocations: 1.375 kB / 0.54 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2933, allocations: 467.7 kB / 0.5404 GB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2945, allocations: 1.59 MB / 0.542 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2948, allocations: 0.6915 MB / 0.5426 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.306e-05/0.2948, allocations: 10.73 kB / 0.5427 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.2949, allocations: 24.75 kB / 0.5427 GB, free: 1.426 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2949, allocations: 1.375 kB / 0.5427 GB, free: 1.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.3096, allocations: 1.59 MB / 0.5442 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.683, allocations: 4.828 kB / 0.5442 GB, free: 0.5547 MB / 398.1 MB (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.0004 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) 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) Reference file matches