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.001743/0.001743, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00224/0.00224, allocations: 210.6 kB / 23.73 MB, free: 4.523 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001473/0.001473, allocations: 47.92 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2322, allocations: 53.35 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004012/0.2362, allocations: 2.701 MB / 433.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2375, allocations: 0.7168 MB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2377, allocations: 4 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2378, allocations: 51.5 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.238, allocations: 95.19 kB / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2383, allocations: 123.8 kB / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.2387, allocations: 386.5 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2389, allocations: 93.34 kB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.2392, allocations: 163.4 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2394, allocations: 167.3 kB / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.628e-05/0.2395, allocations: 40 kB / 435.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.2395, allocations: 36 kB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.2396, allocations: 71.77 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2397, allocations: 139.4 kB / 435.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.2402, allocations: 430.3 kB / 436.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2402, allocations: 4 kB / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2402, allocations: 0 / 436.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2402, allocations: 3.984 kB / 436.3 MB, free: 1.434 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.001233/0.2414, allocations: 0.5936 MB / 436.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2415, allocations: 8.031 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.2415, allocations: 62.73 kB / 437 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.2416, allocations: 32.75 kB / 437 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.242, allocations: 238.9 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.242, allocations: 20.88 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.2421, allocations: 24.38 kB / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.2427, allocations: 348.5 kB / 437.6 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2428, allocations: 4 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.2428, allocations: 11.98 kB / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2428, allocations: 8 kB / 437.6 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.2436, allocations: 269.8 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2453, allocations: 0.9831 MB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.2462, allocations: 254.4 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.2465, allocations: 96.78 kB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2465, allocations: 4 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.247, allocations: 198.6 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.247, allocations: 0 / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001046/0.2481, allocations: 317.2 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2481, allocations: 81.11 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.2484, allocations: 269.7 kB / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2484, allocations: 33.7 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2486, allocations: 192 kB / 440.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.2486, allocations: 47.61 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.2487, allocations: 53.66 kB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2489, allocations: 330.8 kB / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.2492, allocations: 137.8 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.2497, allocations: 246.6 kB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.2504, allocations: 307.7 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2504, allocations: 0 / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008807/0.2512, allocations: 392.5 kB / 441.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.2513, allocations: 33.69 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2513, allocations: 8 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2513, allocations: 8.344 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.2516, allocations: 63.89 kB / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2516, allocations: 4 kB / 441.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.2519, allocations: 51.78 kB / 441.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2519, allocations: 12 kB / 442 MB, free: 11.39 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.0001443/0.252, allocations: 148.9 kB / 442.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.2521, allocations: 23.86 kB / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.2521, allocations: 25.7 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2521, allocations: 0 / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2521, allocations: 4 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2522, allocations: 11.81 kB / 442.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2524, allocations: 252.5 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2524, allocations: 0 / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.2527, allocations: 39.95 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2527, allocations: 8 kB / 442.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2527, allocations: 4 kB / 442.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2527, allocations: 0 / 442.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2527, allocations: 0 / 442.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2537, allocations: 368.7 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.2538, allocations: 23.88 kB / 442.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.2538, allocations: 4 kB / 442.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.254, allocations: 31.91 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.2541, allocations: 31.91 kB / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2541, allocations: 0 / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.2543, allocations: 189.2 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2543, allocations: 0 / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.2546, allocations: 67.89 kB / 443.2 MB, free: 10.11 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.00135/0.256, allocations: 0.8973 MB / 444.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.2568, allocations: 324.7 kB / 444.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2568, allocations: 0 / 444.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.2571, allocations: 100.6 kB / 444.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2574, allocations: 51.69 kB / 444.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.262, allocations: 3.012 MB / 447.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2621, allocations: 138.9 kB / 447.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.2622, allocations: 30.28 kB / 447.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2624, allocations: 79.41 kB / 447.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2624, allocations: 0 / 447.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.2968, allocations: 6.454 MB / 454.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.92, allocations: 8.328 kB / 454.2 MB, free: 14.98 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.390465604985366]