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.001772/0.001772, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002127/0.002127, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.00147/0.00147, allocations: 51.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 53.36 MB / 431.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004191/0.2433, allocations: 2.909 MB / 434.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2446, allocations: 0.7596 MB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2447, allocations: 4 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.2449, allocations: 47.5 kB / 434.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.2451, allocations: 99.19 kB / 435 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.2454, allocations: 111.8 kB / 435.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.2458, allocations: 390.5 kB / 435.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.246, allocations: 101.3 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.2463, allocations: 155.4 kB / 435.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2465, allocations: 175.2 kB / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.2465, allocations: 36 kB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.2466, allocations: 43.94 kB / 436 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.2467, allocations: 71.7 kB / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2468, allocations: 171.2 kB / 436.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.2473, allocations: 418.4 kB / 436.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2473, allocations: 0 / 436.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2473, allocations: 0 / 436.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2473, allocations: 0 / 436.6 MB, free: 1.395 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.001265/0.2486, allocations: 0.5975 MB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2486, allocations: 12.03 kB / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.2487, allocations: 62.72 kB / 437.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.2488, allocations: 32.75 kB / 437.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.2491, allocations: 242.8 kB / 437.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2492, allocations: 16.88 kB / 437.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.2492, allocations: 24.38 kB / 437.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.2499, allocations: 318.8 kB / 437.9 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2499, allocations: 3.938 kB / 437.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2499, allocations: 8 kB / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2499, allocations: 4 kB / 437.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.2507, allocations: 285.7 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.2525, allocations: 1.065 MB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008598/0.2534, allocations: 234.6 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.2537, allocations: 104.8 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2537, allocations: 0 / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.2542, allocations: 172.9 kB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.2542, allocations: 0 / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001039/0.2552, allocations: 313.3 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.2553, allocations: 81.11 kB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.2556, allocations: 261.8 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2556, allocations: 33.7 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2558, allocations: 196 kB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.2558, allocations: 47.62 kB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.2559, allocations: 53.64 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2561, allocations: 326.8 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2564, allocations: 108.1 kB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.2568, allocations: 191.5 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.2575, allocations: 306.4 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2575, allocations: 4 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00086/0.2584, allocations: 359 kB / 442 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.2584, allocations: 37.7 kB / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2584, allocations: 4 kB / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2584, allocations: 7.984 kB / 442.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.2587, allocations: 71.77 kB / 442.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2587, allocations: 4 kB / 442.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.259, allocations: 67.73 kB / 442.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.259, allocations: 8 kB / 442.2 MB, free: 11.46 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.0001548/0.2592, allocations: 145.8 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.2592, allocations: 19.86 kB / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.2593, allocations: 29.7 kB / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2593, allocations: 0 / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2593, allocations: 4 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2593, allocations: 3.938 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.2596, allocations: 276.5 kB / 442.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2596, allocations: 0 / 442.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.2599, allocations: 43.95 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2599, allocations: 0 / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2599, allocations: 11.98 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2599, allocations: 0 / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2599, allocations: 7.938 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2609, allocations: 368.6 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.261, allocations: 27.83 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.261, allocations: 0 / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2612, allocations: 31.95 kB / 443.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.2613, allocations: 23.91 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2613, allocations: 4.062 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.2615, allocations: 193.2 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2615, allocations: 0 / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.2618, allocations: 63.84 kB / 443.4 MB, free: 10.16 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.001348/0.2632, allocations: 0.9046 MB / 444.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007595/0.2639, allocations: 287.7 kB / 444.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2639, allocations: 4.188 kB / 444.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.2642, allocations: 99.86 kB / 444.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2646, allocations: 58.09 kB / 444.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.2691, allocations: 2.893 MB / 447.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.2694, allocations: 0.7519 MB / 448.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.2696, allocations: 30.27 kB / 448.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.2697, allocations: 79.41 kB / 448.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2697, allocations: 0 / 448.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.3033, allocations: 5.772 MB / 454.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.98, allocations: 6.578 kB / 454.3 MB, free: 15.25 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.441669812000328]