Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001816/0.001816, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002206/0.002206, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 7.824 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3154, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004519/0.32, allocations: 2.964 MB / 434.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3219, allocations: 0.9623 MB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.3221, allocations: 7.938 kB / 435.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.3224, allocations: 59.42 kB / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.3227, allocations: 126.4 kB / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3231, allocations: 159.6 kB / 436.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.3236, allocations: 494 kB / 436.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.3239, allocations: 95.62 kB / 436.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.3242, allocations: 199.3 kB / 437 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3244, allocations: 207.1 kB / 437.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.3245, allocations: 40 kB / 437.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.3247, allocations: 79.95 kB / 437.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.3248, allocations: 87.69 kB / 437.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3249, allocations: 179.2 kB / 437.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.3255, allocations: 0.5057 MB / 438 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3255, allocations: 4 kB / 438 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3255, allocations: 0 / 438 MB, free: 344 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3256, allocations: 0 / 438 MB, free: 344 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001387/0.3269, allocations: 0.6646 MB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.327, allocations: 8.031 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.222e-05/0.327, allocations: 8.844 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.859e-05/0.3271, allocations: 70.72 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.3273, allocations: 56.64 kB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3278, allocations: 257.2 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3278, allocations: 33.03 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.3279, allocations: 32.38 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.3286, allocations: 447.7 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3286, allocations: 4 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.3286, allocations: 12 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3286, allocations: 11.98 kB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.3291, allocations: 226.5 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.3311, allocations: 1.038 MB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.3318, allocations: 259.4 kB / 441.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.3323, allocations: 197.1 kB / 441.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.3326, allocations: 84.08 kB / 441.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3327, allocations: 42.73 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.3327, allocations: 0 / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001352/0.334, allocations: 444.5 kB / 441.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.3341, allocations: 81.11 kB / 442 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.3345, allocations: 337.6 kB / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3345, allocations: 37.7 kB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3347, allocations: 216.5 kB / 442.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/0.3348, allocations: 107.1 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3349, allocations: 74.02 kB / 442.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3351, allocations: 350.7 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.3353, allocations: 100.7 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.3356, allocations: 203.4 kB / 443.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.3362, allocations: 284 kB / 443.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3362, allocations: 0 / 443.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008229/0.337, allocations: 417.4 kB / 444 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.337, allocations: 4 kB / 444.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.337, allocations: 4 kB / 444.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.3373, allocations: 69.06 kB / 444.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.3376, allocations: 75.89 kB / 444.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.3397, allocations: 1.828 MB / 446 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.34, allocations: 39.67 kB / 446.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.34, allocations: 19.98 kB / 446.1 MB, free: 7.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.3402, allocations: 157 kB / 446.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.3403, allocations: 35.77 kB / 446.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007501/0.3411, allocations: 314.5 kB / 446.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3411, allocations: 7.938 kB / 446.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.3411, allocations: 0 / 446.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3411, allocations: 3.984 kB / 446.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.3416, allocations: 324.4 kB / 446.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3416, allocations: 0 / 446.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.3419, allocations: 55.89 kB / 447 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.3421, allocations: 60.83 kB / 447 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.3422, allocations: 11.98 kB / 447 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004905/0.3427, allocations: 0.6031 MB / 447.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3427, allocations: 4.031 kB / 447.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/0.3436, allocations: 0.4943 MB / 448.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.3437, allocations: 43.69 kB / 448.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.3437, allocations: 8 kB / 448.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.344, allocations: 28.03 kB / 448.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.3441, allocations: 11.97 kB / 448.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.3441, allocations: 15.98 kB / 448.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002852/0.3444, allocations: 235.2 kB / 448.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3444, allocations: 0 / 448.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005471/0.3449, allocations: 119.7 kB / 448.6 MB, free: 5.238 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.3464, allocations: 1.07 MB / 449.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009831/0.3474, allocations: 382.5 kB / 450 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3474, allocations: 0.5 kB / 450 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.3478, allocations: 127.8 kB / 450.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3482, allocations: 49.3 kB / 450.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.3538, allocations: 3.699 MB / 453.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.354, allocations: 194.5 kB / 454.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.3542, allocations: 38.94 kB / 454.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.3544, allocations: 127.4 kB / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.414e-06/0.3544, allocations: 0 / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.4069, allocations: 8.115 MB / 462.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.65, allocations: 8 kB / 462.4 MB, free: 7.441 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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: 16.28908641205635]