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.0008381/0.0008381, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008075/0.0008075, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8996/0.8996, allocations: 177 MB / 204.1 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.253e-06/1.253e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.413e-05, allocations: 2.281 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003461/0.003475, allocations: 4.079 MB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.005356, allocations: 1.187 MB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.005588, allocations: 19.88 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.005918, allocations: 142.6 kB / 330 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.006371, allocations: 226 kB / 330.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.006762, allocations: 199.6 kB / 330.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.007367, allocations: 0.8014 MB / 331.2 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.007623, allocations: 183 kB / 331.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.008024, allocations: 442.9 kB / 331.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.008269, allocations: 247.2 kB / 332.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.008328, allocations: 64 kB / 332.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.008417, allocations: 71.98 kB / 332.2 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.008499, allocations: 151.4 kB / 332.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.008653, allocations: 239.4 kB / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.009179, allocations: 0.7787 MB / 333.4 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.009182, allocations: 4 kB / 333.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009183, allocations: 0 / 333.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.00919, allocations: 7.875 kB / 333.4 MB, free: 6.988 MB / 298.7 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.001317/0.01051, allocations: 0.9347 MB / 334.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.01054, allocations: 11.98 kB / 334.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/0.01062, allocations: 102.7 kB / 334.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.0108, allocations: 96.45 kB / 334.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.0112, allocations: 363.5 kB / 334.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.01122, allocations: 41.69 kB / 334.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.01127, allocations: 52.38 kB / 335 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.01189, allocations: 0.6881 MB / 335.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01191, allocations: 7.875 kB / 335.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.01194, allocations: 24 kB / 335.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01195, allocations: 16 kB / 335.7 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.0124, allocations: 393.1 kB / 336.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.01415, allocations: 1.568 MB / 337.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.01462, allocations: 355.9 kB / 338 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.01515, allocations: 410.6 kB / 338.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.01518, allocations: 4 kB / 338.4 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.01557, allocations: 0.4918 MB / 338.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.423e-06/0.01557, allocations: 0 / 338.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001618/0.01719, allocations: 0.9657 MB / 339.9 MB, free: 196 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.0173, allocations: 239.3 kB / 340.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.01763, allocations: 445.8 kB / 340.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.01767, allocations: 33.7 kB / 340.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.01808, allocations: 316.8 kB / 340.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.01815, allocations: 154.7 kB / 341 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.01824, allocations: 94.3 kB / 341.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.01834, allocations: 362.7 kB / 341.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.0185, allocations: 137.2 kB / 341.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.01879, allocations: 489.7 kB / 342.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.01918, allocations: 416.4 kB / 342.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01919, allocations: 4 kB / 342.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000774/0.01996, allocations: 0.6619 MB / 343.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01997, allocations: 11.88 kB / 343.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01998, allocations: 4 kB / 343.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.02044, allocations: 223.8 kB / 343.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.02062, allocations: 83.89 kB / 343.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.02296, allocations: 2.701 MB / 346.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.02317, allocations: 79.64 kB / 346.2 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.02319, allocations: 23.94 kB / 346.3 MB, free: 9.398 MB / 314.7 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.0001524/0.02335, allocations: 181.7 kB / 346.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.02339, allocations: 55.67 kB / 346.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.02344, allocations: 56.97 kB / 346.6 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02345, allocations: 7.938 kB / 346.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.02345, allocations: 4 kB / 346.6 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02345, allocations: 3.984 kB / 346.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.02482, allocations: 1.086 MB / 347.7 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02482, allocations: 0 / 347.7 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.02493, allocations: 51.91 kB / 347.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.02535, allocations: 224.6 kB / 347.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.02537, allocations: 12.03 kB / 347.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.02754, allocations: 2.741 MB / 350.7 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.02754, allocations: 0 / 350.7 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.02843, allocations: 0.8304 MB / 351.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.02848, allocations: 55.62 kB / 351.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.02851, allocations: 15.94 kB / 351.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.02869, allocations: 40.03 kB / 351.6 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.02875, allocations: 35.92 kB / 351.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.02877, allocations: 12 kB / 351.7 MB, free: 3.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.02898, allocations: 307.1 kB / 352 MB, free: 3.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02898, allocations: 0 / 352 MB, free: 3.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.02936, allocations: 187.7 kB / 352.1 MB, free: 3.316 MB / 314.7 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.001071/0.03043, allocations: 1.373 MB / 353.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.03108, allocations: 0.5433 MB / 354.1 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03108, allocations: 4 kB / 354.1 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.03142, allocations: 378.2 kB / 354.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.03175, allocations: 89.5 kB / 354.5 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.03638, allocations: 4.838 MB / 359.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.03657, allocations: 271.7 kB / 359.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.03669, allocations: 48.39 kB / 359.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.03685, allocations: 196.4 kB / 359.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.03685, allocations: 0 / 359.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.06208, allocations: 13.22 MB / 373.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.789, allocations: 3.984 kB / 373.1 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/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: 9.486862570978701]