Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001341/0.001341, allocations: 110 kB / 20.43 MB, free: 1.453 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.001387/0.001387, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 64.12 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2313, allocations: 53.42 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005917/0.2372, allocations: 4.54 MB / 435.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2395, allocations: 1.254 MB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.2398, allocations: 19.88 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.2402, allocations: 150.7 kB / 437.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.2406, allocations: 206.2 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.241, allocations: 211.5 kB / 437.6 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000836/0.2419, allocations: 0.763 MB / 438.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.2422, allocations: 195.1 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.2426, allocations: 298.9 kB / 438.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.2431, allocations: 326.5 kB / 439.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.2432, allocations: 68 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.2433, allocations: 64 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2435, allocations: 167.3 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.2438, allocations: 346.3 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008453/0.2446, allocations: 0.7628 MB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2446, allocations: 3.938 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2446, allocations: 0 / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2447, allocations: 0 / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001668/0.2463, allocations: 0.9424 MB / 441.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2464, allocations: 15.97 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.2465, allocations: 102.7 kB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.2468, allocations: 92.45 kB / 441.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.2474, allocations: 364.3 kB / 442.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.2474, allocations: 45.69 kB / 442.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.2475, allocations: 60.12 kB / 442.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.2484, allocations: 498.4 kB / 442.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2484, allocations: 0 / 442.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.2485, allocations: 24 kB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.2485, allocations: 20 kB / 442.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.2493, allocations: 389.1 kB / 443.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.2523, allocations: 1.708 MB / 444.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.2531, allocations: 366 kB / 445.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009577/0.254, allocations: 409.2 kB / 445.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.2541, allocations: 7.938 kB / 445.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.2546, allocations: 294 kB / 445.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.2546, allocations: 0 / 445.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002833/0.2574, allocations: 0.9503 MB / 446.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.2575, allocations: 243.3 kB / 447 MB, free: 6.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.2581, allocations: 445.8 kB / 447.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.2581, allocations: 33.7 kB / 447.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.2584, allocations: 320.8 kB / 447.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2585, allocations: 154.6 kB / 448 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.2587, allocations: 98.3 kB / 448.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2589, allocations: 358.7 kB / 448.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2591, allocations: 137.2 kB / 448.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.2596, allocations: 309.8 kB / 448.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.2602, allocations: 411.4 kB / 449.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2602, allocations: 0 / 449.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001408/0.2616, allocations: 0.672 MB / 449.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2617, allocations: 8 kB / 449.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2617, allocations: 4 kB / 449.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008141/0.2625, allocations: 220.6 kB / 450.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.2628, allocations: 87.89 kB / 450.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.2668, allocations: 2.734 MB / 453 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.2673, allocations: 79.59 kB / 453 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.2673, allocations: 20.06 kB / 453.1 MB, free: 260 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.2676, allocations: 192.6 kB / 453.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.2677, allocations: 59.61 kB / 453.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.2678, allocations: 52.97 kB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2678, allocations: 4 kB / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2678, allocations: 0 / 453.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2678, allocations: 7.984 kB / 453.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.2697, allocations: 1.152 MB / 454.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2697, allocations: 0 / 454.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.27, allocations: 43.91 kB / 454.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007353/0.2707, allocations: 235.4 kB / 454.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.2707, allocations: 4 kB / 454.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.2746, allocations: 2.785 MB / 457.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2746, allocations: 0 / 457.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.2762, allocations: 0.8262 MB / 458.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2763, allocations: 59.56 kB / 458.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.2763, allocations: 11.98 kB / 458.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.2767, allocations: 39.97 kB / 458.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.2768, allocations: 36 kB / 458.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2768, allocations: 15.98 kB / 458.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003742/0.2772, allocations: 303.1 kB / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2772, allocations: 0 / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006773/0.2779, allocations: 187.7 kB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/0.2798, allocations: 1.381 MB / 460.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2809, allocations: 0.5459 MB / 461 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2809, allocations: 0 / 461 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.2815, allocations: 379 kB / 461.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.282, allocations: 93.86 kB / 461.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/0.2896, allocations: 4.815 MB / 466.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.2901, allocations: 0.8631 MB / 467.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.2903, allocations: 56.47 kB / 467.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.2906, allocations: 191.4 kB / 467.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2906, allocations: 0 / 467.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.3371, allocations: 12.86 MB / 480.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.4, allocations: 11.91 kB / 480.2 MB, free: 4.801 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.8023586650379]