Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001821/0.001821, 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 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.002131/0.002131, allocations: 210.7 kB / 23.73 MB, free: 4.16 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.388/1.388, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 43.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2302, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004182/0.2344, allocations: 2.706 MB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2357, allocations: 0.7129 MB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2358, allocations: 7.938 kB / 434.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.236, allocations: 47.52 kB / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.2362, allocations: 95.19 kB / 434.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.2365, allocations: 131.7 kB / 434.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.2369, allocations: 386.5 kB / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.2371, allocations: 85.34 kB / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.2374, allocations: 163.4 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.2376, allocations: 139.3 kB / 435.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.2376, allocations: 40 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.016e-05/0.2377, allocations: 36 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.2377, allocations: 79.69 kB / 435.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2379, allocations: 135.4 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.2383, allocations: 434.3 kB / 436.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2383, allocations: 8 kB / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2383, allocations: 0 / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2383, allocations: 0 / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001193/0.2395, allocations: 0.5897 MB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2396, allocations: 8.031 kB / 436.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.2396, allocations: 58.73 kB / 436.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.2397, allocations: 32.75 kB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.2401, allocations: 242.8 kB / 437.2 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2401, allocations: 20.88 kB / 437.2 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.2402, allocations: 24.38 kB / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.2409, allocations: 348.5 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2409, allocations: 0 / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.2409, allocations: 4 kB / 437.6 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2409, allocations: 11.98 kB / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.2417, allocations: 277.8 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2435, allocations: 0.987 MB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/0.2443, allocations: 242.5 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.2447, allocations: 96.78 kB / 439.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2447, allocations: 7.938 kB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.2451, allocations: 194.7 kB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2451, allocations: 0 / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001047/0.2462, allocations: 313.2 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.2463, allocations: 89.05 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.2466, allocations: 269.7 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.2466, allocations: 33.7 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2467, allocations: 188.1 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.2468, allocations: 51.61 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.2469, allocations: 53.66 kB / 440.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.247, allocations: 330.8 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.2474, allocations: 133.8 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.2479, allocations: 246.9 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.2486, allocations: 307.7 kB / 441.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2486, allocations: 4 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009267/0.2495, allocations: 392.8 kB / 441.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.2496, allocations: 37.72 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2496, allocations: 4 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2496, allocations: 4 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.2499, allocations: 63.89 kB / 441.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2499, allocations: 4 kB / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.2502, allocations: 51.78 kB / 441.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.2502, allocations: 16 kB / 441.9 MB, free: 11.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001528/0.2504, allocations: 141.8 kB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.2504, allocations: 23.86 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.2505, allocations: 25.7 kB / 442.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2505, allocations: 4 kB / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2505, allocations: 0 / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2505, allocations: 7.875 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.2508, allocations: 252.5 kB / 442.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2508, allocations: 0 / 442.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.251, allocations: 51.89 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.251, allocations: 0 / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2511, allocations: 4 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2511, allocations: 0 / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2511, allocations: 0 / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.2521, allocations: 368.7 kB / 442.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.2522, allocations: 23.88 kB / 442.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.2522, allocations: 4 kB / 442.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2525, allocations: 32.03 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.2525, allocations: 27.84 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2525, allocations: 0 / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2527, allocations: 189.2 kB / 443.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2527, allocations: 0 / 443.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.253, allocations: 67.89 kB / 443.1 MB, free: 10.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001417/0.2544, allocations: 0.9012 MB / 444 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.2553, allocations: 323.3 kB / 444.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2553, allocations: 0.6875 kB / 444.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.2556, allocations: 103.9 kB / 444.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2559, allocations: 61.16 kB / 444.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.2606, allocations: 3.005 MB / 447.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2608, allocations: 142.8 kB / 447.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.2609, allocations: 26.28 kB / 447.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.261, allocations: 79.41 kB / 447.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.261, allocations: 4 kB / 447.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.2959, allocations: 6.384 MB / 454.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.1, allocations: 8.469 kB / 454.1 MB, free: 15.05 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable der_.opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.500864553730935]