Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.002217/0.002217, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002449/0.002449, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.531/1.531, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 67.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1445, allocations: 53.38 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005117/0.1496, allocations: 2.904 MB / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1513, allocations: 0.7245 MB / 430 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1516, allocations: 7.938 kB / 430 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1518, allocations: 43.56 kB / 430.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.152, allocations: 107.2 kB / 430.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.1524, allocations: 91.84 kB / 430.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.1528, allocations: 386.5 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.153, allocations: 95.25 kB / 430.7 MB, free: 228 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.1534, allocations: 167.3 kB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1536, allocations: 163.4 kB / 431.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.1536, allocations: 36 kB / 431.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.1537, allocations: 40 kB / 431.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.1538, allocations: 83.61 kB / 431.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.154, allocations: 171.1 kB / 431.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.1544, allocations: 430.4 kB / 431.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1544, allocations: 0 / 431.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1544, allocations: 0 / 431.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1545, allocations: 0 / 431.8 MB, free: 15.15 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001235/0.1557, allocations: 0.665 MB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1557, allocations: 11.97 kB / 432.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.1558, allocations: 54.73 kB / 432.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.1559, allocations: 44.73 kB / 432.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.1563, allocations: 299.5 kB / 432.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1564, allocations: 20.94 kB / 432.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.1564, allocations: 24.38 kB / 432.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.157, allocations: 280.9 kB / 433.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.157, allocations: 0 / 433.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1571, allocations: 4 kB / 433.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1571, allocations: 12 kB / 433.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.1577, allocations: 250 kB / 433.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.1595, allocations: 1.075 MB / 434.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.1602, allocations: 198.7 kB / 434.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.1605, allocations: 84.8 kB / 434.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1605, allocations: 4 kB / 434.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.1609, allocations: 173.8 kB / 435 MB, free: 11.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1609, allocations: 0 / 435 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.00089/0.1618, allocations: 287.2 kB / 435.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.1619, allocations: 106.8 kB / 435.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1622, allocations: 270.5 kB / 435.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1622, allocations: 29.7 kB / 435.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1624, allocations: 196.1 kB / 435.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.1624, allocations: 47.58 kB / 435.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1626, allocations: 57.89 kB / 436 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1627, allocations: 334.8 kB / 436.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.163, allocations: 92.17 kB / 436.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1634, allocations: 183.5 kB / 436.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.164, allocations: 269.7 kB / 436.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.164, allocations: 4 kB / 436.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007715/0.1648, allocations: 350.8 kB / 437.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.1648, allocations: 33.7 kB / 437.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1648, allocations: 320 / 437.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1648, allocations: 8 kB / 437.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.1651, allocations: 59.89 kB / 437.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1651, allocations: 4 kB / 437.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1654, allocations: 43.8 kB / 437.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1654, allocations: 16 kB / 437.3 MB, free: 9.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001714/0.1656, allocations: 157.7 kB / 437.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1656, allocations: 23.81 kB / 437.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.1657, allocations: 33.77 kB / 437.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1657, allocations: 0 / 437.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1657, allocations: 0 / 437.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1657, allocations: 7.938 kB / 437.5 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.166, allocations: 317.4 kB / 437.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.166, allocations: 0 / 437.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.1663, allocations: 35.97 kB / 437.9 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1663, allocations: 4 kB / 437.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1663, allocations: 8 kB / 437.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1663, allocations: 0 / 437.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1663, allocations: 0 / 437.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/0.1672, allocations: 346.1 kB / 438.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.1673, allocations: 108.9 kB / 438.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1673, allocations: 4 kB / 438.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1675, allocations: 27.95 kB / 438.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.1676, allocations: 19.92 kB / 438.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1676, allocations: 8 kB / 438.4 MB, free: 8.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.1678, allocations: 194 kB / 438.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1678, allocations: 0 / 438.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1681, allocations: 67.84 kB / 438.7 MB, free: 7.824 MB / 366.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.001264/0.1694, allocations: 0.8831 MB / 439.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.1701, allocations: 261.6 kB / 439.8 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1701, allocations: 4.062 kB / 439.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.1704, allocations: 87.88 kB / 439.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1707, allocations: 52.45 kB / 439.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.1756, allocations: 2.914 MB / 442.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.176, allocations: 0.7519 MB / 443.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.1762, allocations: 30.28 kB / 443.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.1763, allocations: 79.41 kB / 443.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1763, allocations: 0 / 443.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/0.4343, allocations: 5.882 MB / 449.6 MB, free: 24.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.638, allocations: 5.047 kB / 449.6 MB, free: 24.71 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.35158301598858]